Skip to main content

CVE-2025-53837: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki xwiki-rendering

0
Critical
VulnerabilityCVE-2025-53837cvecve-2025-53837cwe-95
Published: 09/18/2026 (09/18/2026, 15:07:40 UTC)
Source: CVE Database V5
Vendor/Project: xwiki
Product: xwiki-rendering

Description

XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Prior to versions 14.10.2 and 15.0 RC1, any user who can edit their own user profile or any other document can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The reason is that rendering output is included as content of HTML macros without further escaping and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights. This has been patched in XWiki 14.10.2 and 15.0 RC1 by making sure that rendering output cannot close the surrounding HTML macro. A possible workaround is available. It is, in principle, possible to add escaping to all places where rendering output is used in wiki documents, but at the moment there is no list of them.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

xwiki

xwiki-rendering

Affected versions
<14.10.2
org.xwiki/xwiki-rendering
pkg:maven/org.xwiki/xwiki-rendering
Affected versions
<14.10.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 15:47:12 UTC

Technical Analysis

XWiki Rendering converts textual input in various syntaxes into other formats such as XHTML. Before versions 14.10.2 and 15.0 RC1, any user able to edit their own user profile or other documents could inject arbitrary script macros (Groovy, Python) via unescaped rendering output included inside HTML macros. This improper neutralization of directives in dynamically evaluated code (CWE-95) allows remote code execution with full programming rights, including unrestricted read/write access to all wiki content. The vulnerability arises because rendering output can close the HTML macro and inject executable script macros. The vendor patched this by ensuring rendering output cannot close the HTML macro boundary, thus preventing injection. A partial workaround involves adding escaping where rendering output is used, but no exhaustive list of such locations is available.

Potential Impact

Successful exploitation allows an attacker with edit permissions to execute arbitrary code remotely with programming rights, resulting in full read and write access to all wiki contents. This compromises confidentiality, integrity, and availability of the wiki system. The CVSS score of 9.9 reflects critical impact with network attack vector, low attack complexity, and no user interaction required.

Mitigation Recommendations

An official fix is available in xwiki-rendering versions 14.10.2 and 15.0 RC1 that prevents rendering output from closing HTML macros and injecting script macros. Users should upgrade to at least version 14.10.2 or later. A workaround involving escaping rendering output in wiki documents is possible but incomplete due to lack of a comprehensive list of affected locations. No cloud service remediation applies as this is not a cloud service.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-07-09T14:14:52.532Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aad598755bf5e2cf52e3989

Added to database: 09/18/2026, 15:32:23 UTC

Last enriched: 09/18/2026, 15:47:12 UTC

Last updated: 09/19/2026, 02:20:15 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses