CVE-2021-21380

Summary

CVECVE-2021-21380
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-23 23:15:00 UTC
Updated2021-03-24 15:08:00 UTC
DescriptionXWiki 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Xwiki Xwiki 6.4 - All All
Application Xwiki Xwiki 6.4 milestone3 All All
Application Xwiki Xwiki 6.4 rc1 All All
Application Xwiki Xwiki All All All All

References

ReferenceSourceLinkTags
Rating Script Service expose XWiki to SQL injection · Advisory · xwiki/xwiki-platform · GitHub CONFIRM github.com
[XWIKI-17662] Rating Script Service expose XWiki to SQL injection - XWiki.org JIRA MISC jira.xwiki.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 983846 Java (maven) Security Update for org.xwiki.platform:xwiki-platform-ratings-api (GHSA-79rg-7mv3-jrr5)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report