CVE-2024-31997
published critical CVSS 3.1 · 10.0XWiki Platform remote code execution from account through UIExtension parameters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platform< 14.10.19 · >= 15.0-rc-1, < 15.5.4 · >= 15.6-rc-1, < 15.9-rc-1 | Affected | Not stated | GitHub_M |
| xwiki | — | xwiki0 to < 14.10.19 · 15.0-rc-1 to < 15.5.4 · 15.6-rc-1 to < 15.9-rc-1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | < 14.10.19 (affected)>= 15.0-rc-1, < 15.5.4 (affected)>= 15.6-rc-1, < 15.9-rc-1 (affected) | GitHub_M · cna |
| xwiki | xwiki | 0 to < 14.10.19 (affected · custom)15.0-rc-1 to < 15.5.4 (affected · custom)15.6-rc-1 to < 15.9-rc-1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
5- https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea
- https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d
- https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j
- https://jira.xwiki.org/browse/XWIKI-21335
Provider assertions
3GitHub_M · cna
XWiki Platform remote code execution from account through UIExtension parameters
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2314b16c0ee07705cc427cb12c908573e1b5b6c23e114363fa2d3b4e2e92fc95
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record