Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents exceptionally high real-world risk across multiple dimensions: (1) CVSS 8.8 with AV:N (network-accessible), AC:L (low complexity), PR:L (low privilege requirement—only edit rights needed), indicates broad attack surface; (2) the privilege requirement is particularly dangerous because edit rights are commonly delegated to users in collaborative wiki environments; (3) the impact is complete—confidentiality, integrity, and availability all rated High (C:H/I:H/A:H), enabling full system compromise including data exfiltration, malware installation, and denial of service; (4) no user interaction required (UI:N) means automated exploitation is feasible; (5) CWE-94 (code generation) is a fundamental class frequently exploited in real-world attacks; (6) the vulnerability affects multiple active release branches (16.4.x, 16.10.x, 17.0.x), indicating broad deployment exposure; (7) patches are available but require immediate deployment given the low barrier to exploitation (any page editor can trigger). EPSS probability would likely exceed 85-90% given the low attack complexity and privilege requirements. This is not a theoretical high-CVSS issue—it is a genuine, immediately exploitable privilege escalation affecting widely deployed collaborative platforms. |
| Exploit ScenarioDerived | A semi-trusted user (e.g., project team member with page edit rights) creates a custom wiki macro named 'GetAdminStatus' with a parameter 'query' that accepts wiki syntax. The attacker sets the parameter's default value to contain a Groovy script: |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Critical privilege escalation vulnerability in XWiki that allows any user with page edit rights to execute arbitrary code (Groovy, Python, Velocity) with programming-level privileges by creating malicious wiki macros. An attacker can exploit wiki macro parameter defaults to inject code into high-privilege pages like XWiki.ChildrenMacro, achieving full XWiki installation compromise. The vulnerability affects XWiki versions prior to 16.4.7, 16.10.3, and 17.0.0; patch availability is confirmed across multiple release branches.
RemediationAI
Immediate patching is required: upgrade to XWiki 16.4.7 or later (for 16.4.x branch), 16.10.3 or later (for 16.10.x branch), or 17.0.0 or later (for 17.x branch). The patch changes macro parameter evaluation logic to execute wiki syntax default values with the wiki macro author's rights (not the invoking document author's rights), eliminating the privilege escalation. For organizations unable to patch immediately: (1) restrict edit page rights to highly trusted users only; (2) audit existing custom wiki macros for suspicious definitions; (3) monitor wiki modification logs for users creating new macros; (4) disable user self-service page editing if feasible; (5) implement network segmentation to limit XWiki installation exposure. Vendor advisory and patches are available through XWiki's official release channels (xwiki.org/download). No known workaround exists that fully protects unpatched systems while maintaining wiki functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
XWiki is a Java-based wiki platform that supports extensible macro scripting through multiple languages (Groovy, Python, Velocity). The vulnerability stems from CWE-94 (Improper Control of Generation of Code), specifically in how wiki macro parameters with wiki syntax support are evaluated. When a macro parameter's default value contains wiki syntax, it is executed with the document author's rights rather than the macro definition author's rights. This creates a privilege escalation chain: (1) an attacker with edit rights defines a custom wiki macro with a parameter allowing wiki syntax, (2) the attacker sets a malicious default value, (3) when this macro is invoked in a high-privilege document (e.g., XWiki.ChildrenMacro in the XWiki namespace which has programming rights), the default parameter value executes with those elevated rights. The affected product range includes XWiki Community and Enterprise editions across multiple major versions (14.x, 15.x, 16.x, 17.x branches).
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.
Executive ViewAI
XWiki installations are vulnerable to arbitrary code execution through wiki macro manipulation, allowing attackers with basic edit permissions to gain full system access. Organizations running affected XWiki versions face immediate risk of complete infrastructure compromise, data theft, and operational disruption.
Apply vendor patch. If patching is delayed: (1) Restrict edit permissions on all pages to trusted administrators only; (2) Disable custom wiki macro creation at the platform level; (3) Implement network segmentation to limit XWiki instance access; (4) Enable and monitor all audit logs for document edits and macro activity; (5) Review and remove non-essential edit permissions on user profiles and system pages.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in XWiki Privilege Escalation and Code Execution
View all 8XWiki 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 Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated high seve
XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut
Remote code execution in XWiki Pro Macros 1.0 through 1.26.4 allows authenticated users who can edit at least one page o
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
EUVD-2025-18284
NVD
CVE.org
EPSS
GitHub
Exploit-DB