CVE-2024-31996

moderate-risk
Published 2024-04-10

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.

Do I need to act?

~
8.1% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
+
Fix available
Upgrade to: 4810ba1812450ef533c882c5abff598676b1be18, 5596ee59ff8035c3141aaeddc6e66f119c30574a, b9f65855c25269855c2e6b843b0470f8abded453, 9d9df1a75094bc677015c7f8321a7e2081662aae, 0e37972524b5a68c44734112f38a48e746b0909e, 7a8f9b1236bc9271b607fb92e700377e37f67cf2
10
CVSS 10.0/10 Critical
NETWORK / LOW complexity

Affected Products (1)

Affected Vendors

48
/ 100
moderate-risk
Severity 33/34 · Critical
Exploitability 10/34 · Low
Exposure 5/34 · Minimal