CVE-2021-21380: Rating Script Service expose XWiki to SQL injection

Published Mar 23, 2021
·
Updated

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.

Affected Software

4 affected components
XWiki xwiki>=6.4.1<=12.8
XWiki xwiki=6.4
XWiki xwiki=6.4-milestone3
XWiki xwiki=6.4-rc1

Event History

Mar 23, 2021
CVE Published
via MITRE·10:45 PM
Data Sourced
via MITRE·10:45 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21380?

CVE-2021-21380 is rated as a critical vulnerability due to its potential to expose SQL requests without proper escaping.

2

How do I fix CVE-2021-21380?

To remediate CVE-2021-21380, upgrade your XWiki Platform to a version greater than 12.8 or apply available patches.

3

Which versions of XWiki are affected by CVE-2021-21380?

CVE-2021-21380 affects XWiki Platform versions from 6.4.1 to 12.8, including other specific milestones and release candidates of 6.4.

4

What are the potential impacts of CVE-2021-21380?

Exploitation of CVE-2021-21380 can lead to unauthorized access and manipulation of the database through unescaped SQL queries.

5

Does CVE-2021-21380 affect all XWiki installations?

No, CVE-2021-21380 specifically affects installations that have the Ratings API enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203