CVE-2025-55727CWE-94CWE-95code-injection

CVE-2025-55727

Critical · published September 9, 2025

CVSS v3.1
10.0
EPSS
1%
Percentile
63.9
In the wild
Unconfirmed
What it is

🔥 A missing escape in the XWiki column macro is a gift-wrapped invitation for remote code execution! Just imagine the chaos if anyone editing a page can execute their own code! 🚨 Think of the XWiki Remote Macros like a restaurant where the chef (the editor) can prepare any dish (code) without supervision. If the chef accidentally adds the wrong ingredients (unsanitized input), it could lead to a culinary disaster, with the wrong orders reaching every table (executing malicious code across the wiki). An attacker could waltz in, execute arbitrary code, and take control of the server! This means they could access sensitive data, manipulate content, or even take over admin privileges. It's a recipe for disaster that could lead to a full compromise of your XWiki instance!

Put simply

Think of the XWiki Remote Macros like a restaurant where the chef (the editor) can prepare any dish (code) without supervision. If the chef accidentally adds the wrong ingredients (unsanitized input), it could lead to a culinary disaster, with the wrong orders reaching every table (executing malicious code across the wiki). This vulnerability arises from the XWiki column macro not properly escaping the width parameter, allowing syntax injection that can be exploited by users with edit permissions. If exploited, attackers can execute arbitrary Velocity code with the potential rights of the wiki admin.

What to do

An attacker could waltz in, execute arbitrary code, and take control of the server! This means they could access sensitive data, manipulate content, or even take over admin privileges. It's a recipe for disaster that could lead to a full compromise of your XWiki instance! Immediately upgrade to XWiki version 1.26.5 or later to apply the security patch. Additionally, review user permissions to ensure that only trusted users have the ability to edit pages. Regular audits of custom macros can further bolster your defenses. You've got this! Implement these steps, and you'll have your XWiki locked down in no time. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01048 · 63.9th percentile
Weaknesses
CWE-94 · Improper Control of Generation of Code ('Code Injection'); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2025-09-09T23:15Z
Affected products (1)
ProductVersionsFixed in
xwiki/pro_macros≥ 1.0, < 1.26.51.26.5
References (4)
EPSS history
Timeline
  • 09 SEP 18:31Z
    XWiki Remote Macros vulnerable to remote code execution from width parameter in the column macro
    cvelistv5