High

Script injection without script or programming rights through Gadget titles

  • Disclosed: 18.05.2021
  • Updated: 11.10.2026 12:22

Impact

A user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard.

Patches

The issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.

Workarounds

There's no easy workaround for this issue, it is recommended to upgrade XWiki.

References

https://jira.xwiki.org/browse/XWIKI-17794

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.xwiki.commons:xwiki-commons-core < 12.6.7, >= 12.10.0, < 12.10.3 12.6.7, 12.10.3

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-94
Platform
Java / Kotlin (Maven)
Package
org.xwiki.commons:xwiki-commons-core
Disclosed
18.05.2021
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h353-hc43-95vc - CC BY 4.0

Vulnerability history: org.xwiki.commons:xwiki-commons-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2021 05.2021
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2

Disclosures per year

  1. 2021: 2
  2. 2022: 0
  3. 2023: 0
  4. 2024: 0
  5. 2025: 0
  6. 2026: 0
  1. High · 8.1 CVE-2021-32620 >= 11.6, < 11.10.13, >= 12.0, < 12.6.7, >= 12.10.0, < 12.10.2 11.10.13, 12.6.7, 12.10.2
  2. Script injection without script or programming rights through Gadget titles this entry
    High · 8.8 CVE-2021-32621 < 12.6.7, >= 12.10.0, < 12.10.3 12.6.7, 12.10.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.