Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-31996

published critical CVSS 3.1 · 10.0

XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution

Published
10 Apr 2024, 20:46:19 UTC
Updated
02 Aug 2024, 01:59:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
xwiki — xwiki-commons>= 3.0.1, < 14.10.19 · >= 15.0-rc-1, < 15.5.4 · >= 15.6-rc-1, < 15.9-rc-1 Affected Not stated GitHub_M
xwiki — commons3.0.1 to < 14.10.19 · 15.0-rc-1 to < 15.5.4 · 15.6-rc-1 to < 15.9-rc-1 · Other versions: unknown Affected Not stated CISA-ADP

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
10.0 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
xwiki xwiki-commons >= 3.0.1, < 14.10.19 (affected)>= 15.0-rc-1, < 15.5.4 (affected)>= 15.6-rc-1, < 15.9-rc-1 (affected) GitHub_M · cna
xwiki commons 3.0.1 to < 14.10.19 (affected · custom)15.0-rc-1 to < 15.5.4 (affected · custom)15.6-rc-1 to < 15.9-rc-1 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (GitHub_M · cna)

References

6

Provider assertions

3

GitHub_M · cna

XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
847ba017912ee9b44903ac6158e6e4fe9e872aa9c54c08165881a40e67cddab8
Ingested
23 Sep 2026, 08:22:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected