CVE-2024-31996
Last modified
CVE-2024-31996 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | >= 3.0.1, < 14.10.19 |
| Xwiki | Xwiki | >= 15.0, < 15.5.4 |
| Xwiki | Xwiki | >= 15.6, < 15.9 |
References
- https://jira.xwiki.org/browse/XCOMMONS-2828Exploit, Vendor Advisory
- https://jira.xwiki.org/browse/XWIKI-21438Exploit, Vendor Advisory
- https://jira.xwiki.org/browse/XCOMMONS-2828Exploit, Vendor Advisory
- https://jira.xwiki.org/browse/XWIKI-21438Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-31996?
How severe is CVE-2024-31996?
How do I fix CVE-2024-31996?
Are you affected by CVE-2024-31996?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
