Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | >= 6.4.1, <= 12.8 |
Related Weaknesses (CWE)
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662Issue TrackingVendor Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662Issue TrackingVendor Advisory
FAQ
What is CVE-2021-21380?
CVE-2021-21380 is a vulnerability with a CVSS score of 7.7 (HIGH). 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 Rat...
How severe is CVE-2021-21380?
CVE-2021-21380 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-21380?
Check the references section above for vendor advisories and patch information. Affected products include: Xwiki Xwiki.