XWiki Rendering
CVE-2025-66474
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege wiki account
-
DeliveryEdit own profile/document field
-
ExploitInject {{/html}} macro-escape payload
-
ExecutionInject Groovy/Python script macro
-
PersistExecute code with programming rights
-
ImpactFull 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 ({{html and {{/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
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
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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
XWiki Platform allows unauthenticated remote code execution through the SolrSearch endpoint, enabling guests to execute
XWiki Platform prior to specific patched versions contains a CVSS 10.0 remote code execution vulnerability through the u
XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical
XWiki Commons are technical libraries common to several other top level XWiki projects. Rated critical severity (CVSS 9.
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Unauthenticated HQL injection in the XWiki Platform REST search API lets remote attackers inject arbitrary Hibernate Que
A remote code execution vulnerability in XWiki (CVSS 8.8). Risk factors: public PoC available. Vendor patch is available
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB