VULNERABILITY INTELLIGENCE
CVE-2021-21380
CVSS score7.7 HIGH
EPSS probability1.34%
CISA KEVNot currently listed
Published2021-03-23
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-89
- nvd@nist.gov: CWE-89
Primary references
- security-advisories@github.com — Third Party Advisory
- security-advisories@github.com — Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Vendor Advisory