High severity7.7NVD Advisory· Published Mar 23, 2021· Updated Jun 17, 2026
CVE-2021-21380
CVE-2021-21380
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-ratings-apiMaven | < 12.9 | 12.9 |
Affected products
6- Range: < 12.9
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-79rg-7mv3-jrr5ghsaADVISORY
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5nvdThird Party AdvisoryWEB
- jira.xwiki.org/browse/XWIKI-17662nvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-21380ghsaADVISORY
News mentions
0No linked articles in our index yet.