{"cve":"CVE-2021-21380","nvd":{"published":"2021-03-23T23:15:13.630","modified":"2026-06-17T03:35:26.977","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-89"],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5","https://jira.xwiki.org/browse/XWIKI-17662","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5","https://jira.xwiki.org/browse/XWIKI-17662"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-21380","score":0.01345,"percentile":0.71409,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-79rg-7mv3-jrr5","url":"https://osv.dev/vulnerability/GHSA-79rg-7mv3-jrr5","summary":"Rating Script Service expose XWiki to SQL injection","modified":"2026-09-10T03:49:26.633609981Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-ratings-api","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-ratings-api","ranges":["<12.9"],"fixed":["12.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}