CVE-2021-21380
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
23/03/2021
Last modified:
24/03/2021
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Base Score 2.0
6.50
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 6.4.1 (including) | 12.8 (including) |
| cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:* | ||
| cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:* | ||
| cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



