CVE-2021-21380
published high CVSS 3.1 · 7.7Rating Script Service expose XWiki to SQL injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platform< 12.9 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | < 12.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89 SQL Injection
References
2Provider assertions
2GitHub_M · cna
Rating Script Service expose XWiki to SQL injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9b55aebfe5ce9a5300a3ce26a46a1bb556ad24a9c6cf75efeaa64c9fd2d8c897
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record