CVEvulnerability
CVE-2021-21380
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-03-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-89
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.
Affected configurations
• xwiki xwiki (>= 6.4.1 <= 12.8)
• xwiki xwiki 6.4
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5 Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662 Issue Tracking, Vendor Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5 Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662 Issue Tracking, Vendor Advisory