Skip to main content

XWiki Pro Macros CVE-2025-55727

CRITICAL
Eval Injection (CWE-95)
2025-09-09 security-advisories@github.com
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as page editor or CKEditor-converter user
  2. Exploit
    Inject XWiki syntax into column macro width parameter
  3. Execution
    Unescaped width rendered as XWiki syntax
  4. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 6.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 19:11 CVSS 10.0

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:H/SA:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 18, 2026 - 21:50 vuln.today
v2 - CVSS changed
CVSS changed
Oct 18, 2026 - 21:38 NVD
10.0 (CRITICAL) 9.8 (CRITICAL)
Patch released
Mar 28, 2026 - 19:11 nvd
Patch available
PoC Detected
Sep 17, 2025 - 19:46 vuln.today
Public exploit code
CVE Published
Sep 09, 2025 - 19:15 nvd
CRITICAL 10.0

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
6.9%
Top 9% exploitable
Prevalence
Low
commercial XWiki add-on for Confluence migration, niche deployment footprint
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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 6.9%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

76
Low Medium High Critical
KEV: 0
EPSS: +7
CVSS: +49
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)NVD

cpe:2.3:a:xwiki:pro_macros:*:*:*:*:*:*:*:*

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-2023-29525 HIGH POC
8.8 Apr 19

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

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

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