CVE-2024-31997 in the critical feed json
XWiki Platform remote code execution from account through UIExtension parameters
published 2024-04-10 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1179 , GHSA-c2gg-4gq4-jv5j
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 73.9%
- EPSS 73.9% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known
Summary
XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-uiextension-api 14.10.19, 15.5.4, 15.9-rc-1
- xwiki xwiki 14.10.19, 15.5.4, 15.9-rc-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
73.92% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j referenced PoC, tagged "exploit" by a source, unverified
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-21335 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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: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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-uiextension-api | <14.10.19 >=15.0-rc-1, <15.5.4 >=15.6-rc-1, <15.9-rc-1 |
14.10.19 15.5.4 15.9-rc-1 |
Affected products
- xwiki xwiki-platform
- xwiki xwiki
Classification
- Weakness
-
- CWE-862 Missing Authorization
References
-
github.com
/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea
web, patch
-
github.com
/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d
web, patch
-
github.com
/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7
web, patch
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j
web, exploit, vendor-advisory
-
jira.xwiki.org
/browse/XWIKI-21335
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-31997
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2024-31997
- GitHub Advisory GHSA-c2gg-4gq4-jv5j
- NVD CVE-2024-31997
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.