Skip to main content
← All vulnerabilities
CVE-2021-21380GHSA-79RG-7MV3-JRR5

Rating Script Service expose XWiki to SQL injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.9
1 proof of concept on GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • xwiki xwiki-platform

    fixed in 12.9

  • org.xwiki.platform:xwiki-platform-ratings-apiMaven

    fixed in 12.9

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org

GitHub · rvermeulen/codeql-workshop-cve-2021-21380