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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-31990Argo CD is a declarative, GitOps continuous delivery tool fo…6.3
- CVE-2024-31991Mealie is a self hosted recipe manager and meal planner. Pri…3.5
- CVE-2024-31992Mealie is a self hosted recipe manager and meal planner. Pri…6.5
- CVE-2024-31993Mealie is a self hosted recipe manager and meal planner. Pri…4.5
- CVE-2024-31994Mealie is a self hosted recipe manager and meal planner. Pri…6.5
- CVE-2024-31995`@digitalbazaar/zcap` provides JavaScript reference implemen…4.3
- CVE-2024-31997XWiki Platform is a generic wiki platform. Prior to versions…8.8
- CVE-2024-31998Combodo iTop is a simple, web based IT Service Management to…8.8
- CVE-2024-31999@festify/secure-session creates a secure stateless cookie se…7.4
- CVE-2024-3200The wpForo Forum plugin for WordPress is vulnerable to SQL I…6.5
- CVE-2024-32000matrix-appservice-irc is a Node.js IRC bridge for the Matrix…4.3
- CVE-2024-32001SpiceDB is a graph database purpose-built for storing and ev…4.3
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
