CVE-2021-21380 HIGH

CVE-2021-21380: Rating Script Service expose XWiki to SQL injection

Vendor Xwiki
Product xwiki-platform
Weakness CWE-89 · SQLi
Published March 23, 2021
Last update August 3, 2024

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

What the vulnerability does

01Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of XWiki Platform (and only those with the Ratings API installed), the Rating Script Service expose an API to perform SQL requests without escaping the from and where search arguments. This might lead to an SQL script injection quite easily for any user having Script rights on XWiki. The problem has been patched in XWiki 12.9RC1. The only workaround besides upgrading XWiki would be to uninstall the Ratings API in XWiki from the Extension Manager.

Key dates

02Disclosure timeline

March 23, 2021 CVE published
August 3, 2024 Record updated