Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-31996— XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution

Quick assessment

Affected
xwiki xwiki-commons
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

XWiki Platform是XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 存在安全漏洞,该漏洞源于 XWiki 中使用的转义工具不会转义 { ,当在某些地方使用时,允许XWiki语法注入,从而远程执行代码。

CVSS 10.0 · Critical EPSS 2.10% · P81

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-31996

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5
Vulnerability Title
XWiki Platform 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
XWiki Platform是XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 存在安全漏洞,该漏洞源于 XWiki 中使用的转义工具不会转义 { ,当在某些地方使用时,允许XWiki语法注入,从而远程执行代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
xwiki xwiki-commons >= 3.0.1, < 14.10.19 -

II. Public POCs for CVE-2024-31996

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8281 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-31996

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-31996 (3)

Vendor Advisories for CVE-2024-31996 (1)

Other References for CVE-2024-31996 (2)

Same Patch Batch · xwiki · 2024-04-10 · 12 CVEs total

CVE-2024-31465 10.0 CRITICAL XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet
CVE-2024-31981 10.0 CRITICAL XWiki Platform: Privilege escalation (PR) from user registration through PDFClass
CVE-2024-31982 10.0 CRITICAL XWiki Platform: Remote code execution as guest via DatabaseSearch
CVE-2024-31983 10.0 CRITICAL XWiki Platform: Remote code execution from edit in multilingual wikis via translations
CVE-2024-31984 10.0 CRITICAL XWiki Platform: Remote code execution through space title and Solr space facet
CVE-2024-31987 10.0 CRITICAL XWiki Platform remote code execution from account via custom skins support
CVE-2024-31997 10.0 CRITICAL XWiki Platform remote code execution from account through UIExtension parameters
CVE-2024-31988 9.7 CRITICAL XWiki Platform CSRF remote code execution through the realtime HTML Converter API
CVE-2024-31986 9.1 CRITICAL XWiki Platform CSRF remote code execution through scheduler job's document reference
CVE-2024-31464 6.8 MEDIUM XWiki Platform: Password hash might be leaked by diff once the xobject holding them is del
CVE-2024-31985 5.4 MEDIUM XWiki Platform CSRF in the job scheduler

IV. Related Vulnerabilities

V. Comments for CVE-2024-31996

No comments yet


Leave a comment