CVE-2021-32621
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions prior to 12.6.7 and 12.10.3, a user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard. The issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
2.102%
chance of exploitation in the next 30 days
higher than 82% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-94: Improper Control of Generation of Code
Timeline
- 2021-05-18GitHub advisory published (GHSA-h353-hc43-95vc)10 days before publication
- 2021-05-28Published by the CNA21:05 UTC
Exploit and advisory records
GitHub advisory GHSA-h353-hc43-95vc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.commons:xwiki-commons-core | before 12.6.7 | 12.6.7 |
| Maven org.xwiki.commons:xwiki-commons-core | from 12.10.0 before 12.10.3 | 12.10.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki xwiki | from 12.10 before 12.10.3fixed in 12.10.3from 3.0.1 before 12.6.7fixed in 12.6.73.0no fix listed | 12.10.312.6.7not listed |
References
- https://github.com/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc
- https://jira.xwiki.org/browse/XWIKI-17794
- https://jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-32621'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-32621'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-32621'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-32621'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).