CVE-2023-29512 json
Code injection in xwiki-platform-web-templates
published 2023-04-18 3 y ago modified 2026-06-17 4 mo ago also GHSA-hg5x-3w3x-7g96 , EUVD-2023-1323
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights on a page (e.g., it's own user page), can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the information loaded from attachments in `imported.vm`, `importinline.vm`, and `packagelist.vm`. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-web-templates 13.10.11, 14.4.8, 14.10.1
- xwiki xwiki 13.10.11, 14.4.8, 14.10.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-hg5x-3w3x-7g96 referenced PoC, tagged "exploit" by a source, unverified
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-20267 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-web-templates | >=1.0B1, <13.10.11 >=14.0-rc-1, <14.4.8 >=14.5, <14.10.1 |
13.10.11 14.4.8 14.10.1 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/xwiki/xwiki-platform/commit/e4bbdc23fea0be4ef1921d1a58648028ce753344
web, patch
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-hg5x-3w3x-7g96
web, exploit, patch, vendor-advisory
-
jira.xwiki.org
/browse/XWIKI-20267
web, exploit, issue-tracking, patch, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-29512
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2023-29512
- GitHub Advisory GHSA-hg5x-3w3x-7g96
- NVD CVE-2023-29512
Fencer Vulns 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.