Security mailing lists by PureSourceCode

CVE-2021-21380

HIGH 8.8CVSS 3.1

Rating Script Service expose XWiki to SQL injection

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.

Published
23 Mar 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-79rg-7mv3-jrr5
Sources
NVDJSONOSV GHSA-79rg-7mv3-jrr5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 6.4.1, <= 12.8
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:*
= 6.4
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*
= 6.4
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:*
= 6.4
OSV Maven org.xwiki.platform:xwiki-platform-ratings-api < 12.9 12.9

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Mar 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.