Skip to main content

XWiki Rendering CVE-2025-66474

HIGH
Eval Injection (CWE-95)
2025-12-10 security-advisories@github.com
8.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege wiki account
  2. Delivery
    Edit own profile/document field
  3. Exploit
    Inject {{/html}} macro-escape payload
  4. Execution
    Inject Groovy/Python script macro
  5. Persist
    Execute code with programming rights
  6. Impact
    Full RCE and wiki read/write

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account with edit rights over at least one document - critically, the ability to edit one's own user profile suffices, so on any XWiki instance permitting self-registration or granting normal users profile-edit rights, this is reachable by ordinary/low-trust users (PR:L). The vulnerable behavior triggers when a wiki-syntax field's rendered output is embedded in an HTML macro; the attacker closes the macro via {{/html}} variants (including forms with spaces after the macro name) and injects script macros. No user interaction by a victim and no non-default configuration is required beyond having script/programming-rights macros processable in the standard rendering pipeline. Affected: xwiki-rendering-xml <16.10.10, >=17.0.0-rc-1 <17.4.3, and >=17.5.0-rc-1 <17.6.0-rc-1; no workaround exists other than upgrading.

Impact

This is a genuinely high-priority issue, not merely a high-CVSS paper tiger. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) plus full VC:H/VI:H/VA:H indicates a remotely reachable, low-complexity flaw requiring only a low-privilege authenticated account - and the GHSA confirms that privilege bar is extremely low: any user who can edit their own profile qualifies, which on most XWiki instances includes any self-registered/regular user. CWE-95 (eval injection) combined with the ability to run Groovy/Python script macros with programming rights means the impact is full RCE and unrestricted read/write across the wiki. Publicly available exploit code exists (the GHSA supplies a concrete payload {{html}}{{/html {{/html}}}} and the JIRA tickets are referenced as exploit sources), which sharply raises real-world risk even though there is no CISA KEV listing and no confirmed active exploitation. EPSS is moderate at 1.02% (62nd percentile) - elevated but not extreme - consistent with a public PoC that is not yet part of automated mass-exploitation. The main gating factor is authentication (PR:L), so the practical risk is highest for instances that permit open registration or have many low-trust users. Signals are consistent across sources: vendor GHSA, NVD, source-code diffs, and PoC all agree on mechanism and impact.

Exploit ScenarioDerived

A low-privileged but authenticated XWiki user edits a wiki-syntax field they control (e.g., the 'About' field of their own profile) and inserts a payload such as {{html}}{{/html {{/html}}}} that escapes the wrapping HTML macro. Because rendering output is embedded in an HTML macro with insufficient escaping of the closing {{/html}} token (especially variants with spaces after the macro name), the attacker can then inject script macros (Groovy/Python) that execute with programming rights, achieving RCE and full read/write access to wiki content. A public PoC and detailed advisory exist, making reproduction straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Remote code execution in XWiki Rendering versions prior to 16.10.10, 17.4.3, and 17.6.0-rc-1 allows any authenticated user with edit rights-including the ability to edit their own profile-to inject script macros via insufficiently escaped {{/html}} syntax. Successful exploitation enables arbitrary Groovy or Python macro execution, granting full read/write access to all wiki contents. Public exploit code is available (EPSS 1.02%, 62nd percentile), and though not confirmed actively exploited, the low privilege requirement makes immediate patching critical.

RemediationAI

Vendor-released patches are available: upgrade to XWiki Rendering 16.10.10 (for the 16.10.x branch), 17.4.3 (for the 17.4.x branch), or 17.6.0-rc-1 (for the 17.5.x/17.6.x branch). The GitHub advisory states that no workarounds exist other than upgrading. If immediate patching is not possible, as a temporary compensating control with significant trade-offs, you could restrict document edit permissions to trusted users (e.g., disable self-registration, remove profile-edit rights for regular users) and disable script macros (Groovy, Python) if not required-but these measures may break legitimate functionality and do not fully mitigate the vulnerability. Apply the patch from the advisory: https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p. Relevant commits include 12b780ccd5bca5fc8f74f46648d7e02fa04fbc11 and 9b71a2ee035815cfc29cebbfe81dbdd98f941d49, and tracking issues XWIKI-23378 and XRENDERING-693, XRENDERING-792, XRENDERING-793.

Affected Packages

maven org.xwiki.rendering:xwiki-rendering-xml fix: 16.10.10, 17.4.3, 17.6.0-rc-1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

XWiki Rendering (module xwiki-rendering-xml) is a generic rendering system that converts wiki syntax into HTML and other formats. The vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code) arises because the XHTMLWikiPrinter and XWikiDocument classes failed to adequately escape opening and closing HTML macro syntax ({{html and {{/html) in rendered output. When a wiki-syntax field is later embedded within an HTML macro, an attacker can close the macro prematurely-using variants like {{/html}} with optional spaces-and inject arbitrary script macros (e.g., Groovy, Python). These macros execute with programming rights, leading to remote code execution and unrestricted read/write access to all wiki content. The patch extends escaping to cover both opening and closing macro syntaxes, as shown in commit diffs that replace {{html and {{/html with HTML entities (&#123;&#123;html and &#123;&#123;/html). Affected CPEs include cpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:* with specific version entries for 17.5.0 and 17.5.0:rc1.

Know when Xwiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable, low-complexity injection needing only a low-privilege profile-editing account (PR:L); script-macro RCE yields full confidentiality, integrity, and availability impact within the wiki.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Versions 16.10.9 and below, 17.0.0-rc-1 through 17.4.2 and 17.5.0-rc-1 through 17.5.0 have insufficient protection against {{/html}} injection, which attackers can exploit through RCE. Any user who can edit their own profile or any other document can execute arbitrary script macros, including Groovy and Python macros, which enable remote code execution as well as unrestricted read and write access to all wiki contents. This issue is fixed in versions 16.10.10, 17.4.3 and 17.6.0-rc-1.

Executive ViewAI

Why It Matters

XWiki Rendering contains a high-severity remote code execution flaw that can allow users with edit rights to compromise all wiki content. Publicly available exploit code exists, and the low privilege requirement means many internal users could trigger it. Leadership should prioritize patching because a successful attack could expose or alter sensitive knowledge assets, disrupt collaboration, and require costly incident response.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 38% exploitable
Prevalence
Medium
popular open-source enterprise wiki, but rendering module is a specific-product subset
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki-rendering:17.5.0:-:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki-rendering:17.5.0:rc1:*:*:*:*:*:*

More in Xwiki

View all
CVE-2025-24893 CRITICAL POC
9.8 Feb 20

XWiki Platform allows unauthenticated remote code execution through the SolrSearch endpoint, enabling guests to execute

CVE-2024-21650 CRITICAL POC
10.0 Jan 08

XWiki Platform prior to specific patched versions contains a CVSS 10.0 remote code execution vulnerability through the u

CVE-2025-32969 CRITICAL POC
9.3 Apr 23

XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut

CVE-2023-27479 CRITICAL POC
9.9 Mar 07

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26055 CRITICAL POC
9.9 Mar 02

XWiki Commons are technical libraries common to several other top level XWiki projects. Rated critical severity (CVSS 9.

CVE-2024-31996 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2024-31982 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2023-46731 CRITICAL POC
9.8 Nov 06

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26477 CRITICAL POC
9.8 Mar 02

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2025-52472 CRITICAL POC
9.3 Oct 06

Unauthenticated HQL injection in the XWiki Platform REST search API lets remote attackers inject arbitrary Hibernate Que

CVE-2025-49586 HIGH POC
8.8 Jun 13

A remote code execution vulnerability in XWiki (CVSS 8.8). Risk factors: public PoC available. Vendor patch is available

CVE-2025-55747 CRITICAL POC
9.3 Sep 03

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy