CVE-2024-31996
A public proof of concept exists; no exploitation attested.
- Published2024-04-10
- Fixed in15.9 · 15.9-rc-1 · 15.5.4 · 14.10.19
- WeaknessCWE-94 · CWE-95
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of escaping tool that is used in XWiki doesn't escape `{`, which, when used in certain places, allows XWiki syntax injection and thereby remote code execution. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9 RC1. Apart from upgrading, there is no generic workaround. However, replacing `$escapetool.html` by `$escapetool.xml` in XWiki documents fixes the vulnerability. In a standard XWiki installation, the maintainers are only aware of the document `Panels.PanelLayoutUpdate` that exposes this vulnerability, patching this document is thus a workaround. Any extension could expose this vulnerability and might thus require patching, too.
Timeline
dates in UTC- 2024-04-1021:15CVE publishedNVD
Versions per branch
NVD · OSV · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.x | ≥ 15.6, < 15.9 | 15.9 | NVD |
| 15.x | ≥ 15.6-rc-1, < 15.9-rc-1 | 15.9-rc-1 | OSV |
| 15.x | ≥ 15.0, < 15.5.4 | 15.5.4 | NVD |
| 15.x | ≥ 15.0-rc-1, < 15.5.4 | 15.5.4 | OSV |
| 14.10 | ≥ 3.0.1, < 14.10.19 | 14.10.19 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.x | ≥ 15.6-rc-1, < 15.9-rc-1 | 15.9-rc-1 | CISA-ADP |
| 15.x | ≥ 15.0-rc-1, < 15.5.4 | 15.5.4 | CISA-ADP |
| 14.10 | ≥ 3.0.1, < 14.10.19 | 14.10.19 | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- xwiki-commonsAffected
- = >= 3.0.1, < 14.10.19no fix stated
- = >= 15.0-rc-1, < 15.5.4no fix stated
- = >= 15.6-rc-1, < 15.9-rc-1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-04-10
Fix
- Update Xwiki to 15.9 · 15.9-rc-1 · 15.5.4 · 14.10.19
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
- github.comVendor Advisory
- jira.xwiki.orgVendor Advisory
- jira.xwiki.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-06-03
- PoC-in-GitHubno public repository identifiedread 2026-11-20
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-06-03
- CNACVSS 3.110known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-95known since 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score2.1 %2026-11-19
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2024-04-10
Identifiers
- EUVD-2024-1213same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-hf43-47q4-fhq5same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-04-10
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-hf43-47q4-fhq5
Frequently asked questions
What is CVE-2024-31996?
Is CVE-2024-31996 actively exploited?
What is the CVSS score for CVE-2024-31996?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-hf43-47q4-fhq5
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0