XWiki Pro Macros
CVE-2025-55727
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as page editor or CKEditor-converter user
-
ExploitInject XWiki syntax into column macro width parameter
-
ExecutionUnescaped width rendered as XWiki syntax
-
ImpactExecute Velocity/script code with admin or programming rights
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 that can edit at least one page OR can access the CKEditor Confluence converter; the attacker then supplies a column macro width parameter containing XWiki syntax, which is rendered unescaped (CWE-95). Impact severity is gated by install context: full RCE occurs only when the Pro Macros extension was installed by a user holding programming right; absent that, the injection still executes Velocity code as the wiki admin. Limiting factors: valid low-privilege credentials are needed (not anonymous), XWiki Pro Macros versions 1.0 through 1.26.4 must be installed, and upgrading to 1.26.5 (which escapes the width via $services.rendering.escape) removes the condition. |
| Impact | Signals are mostly aligned toward real but access-gated risk. CWE-95 (eval injection) via the unescaped width parameter in the column macro yields XWiki-syntax injection and RCE, consistent with the CVSS 9.8 (C:H/I:H/A:H). Publicly available exploit code exists (the GHSA-hxqp-983c-m8h9 advisory details the injection), and EPSS of 6.91% at the 91st percentile indicates above-average but not extreme near-term exploitation probability; there is no CISA KEV listing, so this is 'publicly available exploit code exists' rather than confirmed active exploitation. The most important conflict: the input CVSS vector is AV:N/AC:L/PR:N/UI:N (unauthenticated), but the description explicitly scopes exploitation to 'any user who can edit any page or who can access the CKEditor converter' - that is an authenticated, low-privilege precondition, so PR:N appears overstated and should be verified with the vendor advisory. Full RCE further depends on the macro having been installed by a user with programming right; otherwise impact is limited to executing Velocity code as the wiki admin, which is still severe. Net: a genuine priority for organizations running the XWiki Pro Macros add-on, but the realistic bar is a logged-in user, not an anonymous internet attacker, which tempers the raw 9.8. |
| Exploit ScenarioDerived | An authenticated user with page-edit rights (or access to the CKEditor Confluence converter) inserts a column macro whose width parameter contains crafted XWiki syntax. Because the width is emitted without escaping, the injected syntax is interpreted by the rendering engine, executing Velocity/script code with the rights of the macro installer - up to full remote code execution when that installer held programming right. Public exploit detail is available in the GitHub Security Advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 18, 2026
Remote code execution in XWiki Pro Macros 1.0 through 1.26.4 allows authenticated users who can edit at least one page or access the CKEditor Confluence converter to inject XWiki syntax through the unescaped column macro width parameter. Full RCE occurs only when the extension was installed by a user with programming right; otherwise the injection still executes Velocity code as the wiki admin. Publicly available exploit code exists and EPSS is 6.91% (91st percentile), and the vendor released 1.26.5 to add escaping.
Earlier versions of this analysis (1)
XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
RemediationAI
Upgrade XWiki Pro Macros to version 1.26.5 or later (Vendor-released patch: 1.26.5), which escapes the column width before it is emitted into XWiki syntax; see the GitHub advisory (https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-hxqp-983c-m8h9) and fix commit (https://github.com/xwikisas/xwiki-pro-macros/commit/05651adb4b58d03ba862d5290c645feeffd2121b). If upgrading cannot be done immediately, restrict page-edit rights and access to the CKEditor Confluence converter to trusted users only, because the attack requires an authenticated account with one of those capabilities; this reduces exposure but limits normal collaboration and content-migration workflows. Removing or disabling the Pro Macros extension where it is not needed also removes the vulnerable macro, at the cost of losing Confluence compatibility features.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
XWiki Pro Macros supplies Confluence-compatible rendering macros, including a Column macro that emits a style width and data-width attribute from the macro's width parameter. In affected versions the parameter is concatenated into XWiki syntax without escaping, so a crafted width value is parsed as XWiki syntax and can invoke Velocity or other dynamically evaluated content (CWE-95 eval injection). The exposure is gated by edit or CKEditor-converter access; full remote code execution requires the macro to have been installed by a user with programming right, while lower-impact exploitation executes Velocity as the wiki admin. The upstream fix escapes the width using $services.rendering.escape(..., 'xwiki/2.1') before building the style and data-width attributes.
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:N/UI:N/S:U/C:H/I:H/A:H
Exploitation needs a page-edit/CKEditor-converter account so PR:L not PR:N; injected code runs with the installer's elevated programming/admin rights, crossing a privilege boundary (S:C), with full C/I/A impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the width parameter in the column macro allows remote code execution for any user who can edit any page or who can access the CKEditor converter. The width parameter is used without escaping in XWiki syntax, thus allowing XWiki syntax injection which enables remote code execution when the macro has been installed by a user with programming right, or it at least allows executing Velocity code as the wiki admin. Version 1.26.5 contains a patch for the issue.
Executive ViewAI
XWiki Pro Macros versions 1.0 through 1.26.4 contain a critical remote code execution flaw that allows users with page-editing rights or CKEditor Confluence converter access to inject code via the column macro's unescaped width parameter, potentially compromising the entire wiki environment. Because the extension is frequently installed with elevated privileges, exploitation can escalate to administrative-level code execution across the platform. With public exploit code available and elevated exploitation likelihood, leadership should prioritize remediation to protect sensitive wiki-hosted content and integrated systems.
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)NVD
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 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
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
NVD
CVE.org
EPSS
GitHub
Exploit-DB