CVE-2021-32621 json
Script injection without script or programming rights through Gadget titles
published 5y ago modified 4mo ago also GHSA-h353-hc43-95vc , EUVD-2021-1090
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.commons:xwiki-commons-core 12.6.7, 12.10.3
- xwiki xwiki 12.6.7, 12.10.3
Is CVE-2021-32621 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- jay-from-future.github.io https://jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.commons:xwiki-commons-core | <12.6.7 >=12.10.0, <12.10.3 |
12.6.7 12.10.3 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc
web, patch, third-party-advisory
-
jay-from-future.github.io
/cve/2021/06/17/xwiki-rce-cve.html
web, exploit, third-party-advisory
-
jira.xwiki.org
/browse/XWIKI-17794
web, permissions-required, vendor-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32621
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2021-32621
- GitHub Advisory GHSA-h353-hc43-95vc
- NVD CVE-2021-32621
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.