Read the docs
TI-2021-04479 Aliases CVE-2021-21380GHSA-79rg-7mv3-jrr5

Rating Script Service expose XWiki to SQL injection

Priority MEDIUM 41CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

EPSS 0.01345 71st percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 12.9org.xwiki.platform:xwiki-platform-ratings-api (Maven): 12.9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platformbefore 12.912.9Patch availableCNA
—org.xwiki.platform:xwiki-platform-ratings-api (Maven)before 12.912.9Patch availableGHSA-79rg-7mv3-jrr5
  • xwiki-platform VendorXWiki Affected before 12.9 Fixed in 12.9 Patch available CNA
  • org.xwiki.platform:xwiki-platform-ratings-api (Maven) Vendor— Affected before 12.9 Fixed in 12.9 Patch available GHSA-79rg-7mv3-jrr5

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*6.4.1 – 12.8VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:*6.4VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*6.4 milestone3VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:*6.4 rc1VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 6.4.1 – 12.8 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:* Versions 6.4 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:* Versions 6.4 milestone3 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:* Versions 6.4 rc1 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 12.9
  • Fix · GHSA-79rg-7mv3-jrr5 org.xwiki.platform:xwiki-platform-ratings-api (Maven) Fixed in 12.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21380
  2. 2026-10-03 Alias added: GHSA-79rg-7mv3-jrr5

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources