Skip to content

CVE-2024-31996

Xwiki remote code execution

10.0 CRITICALEPSS 2.10%
  1. Published10 Apr 2024

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.

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

Xwiki≥ 15.0 < 15.5.4 · ≥ 15.6 < 15.9 · ≥ 3.0.1 < 14.10.19

Remediation

Fixed in
Xwiki≥ 15.5.4

Frequently asked

Is CVE-2024-31996 being actively exploited?

CVE-2024-31996 is not in the CISA KEV catalog. Its EPSS exploit probability is 2.10%.

How severe is CVE-2024-31996?

CVE-2024-31996 has a CVSS 3.1 base score of 10.0, rated critical. EPSS estimates a 2.10% probability of exploitation.

Which products are affected by CVE-2024-31996?

Affected products include Xwiki.

How do I fix CVE-2024-31996?

Upgrade affected software to a fixed version, for example Xwiki 15.5.4 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-31996 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.