CVE-2025-53836CWE-863CWE-94

XWiki Rendering is vulnerable to RCE attacks when processing nested macros

Critical · published July 14, 2025

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

🚨 A sneaky flaw in XWiki Rendering lets restricted macros run wild! 🦸‍♂️ With just a crafted nested macro, an attacker could slip past barriers that should've kept them out. This vulnerability is like a hotel that forgets to check IDs at the front desk, allowing unauthorized guests to crash the party. Just as guests could access restricted areas without proper clearance, attackers can execute forbidden scripts through nested macros. An attacker could exploit this oversight to execute malicious scripts within the XWiki environment, potentially leading to unauthorized data access or complete takeover of the wiki. It's absolutely devastating to think that a few crafty macros could undermine the entire system's security!

Put simply

This vulnerability is like a hotel that forgets to check IDs at the front desk, allowing unauthorized guests to crash the party. Just as guests could access restricted areas without proper clearance, attackers can execute forbidden scripts through nested macros. This vulnerability arises from the default macro content parser not enforcing the restricted attribute during the execution of nested macros, allowing users to run script macros in contexts where they should be forbidden.

What to do

An attacker could exploit this oversight to execute malicious scripts within the XWiki environment, potentially leading to unauthorized data access or complete takeover of the wiki. It's absolutely devastating to think that a few crafty macros could undermine the entire system's security! Upgrade to XWiki versions 13.10.11, 14.4.7, or 14.10 immediately! In the meantime, disable comments for untrusted users to mitigate the risk of exploitation while you get your systems patched. You can do this in your admin settings! You've got this! Stay vigilant and secure your XWiki like the hero you are! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00638 · 49.9th percentile
Weaknesses
CWE-863 · Incorrect Authorization; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-07-14T23:08Z
EPSS history
Timeline
  • 14 JUL 23:08Z
    XWiki Rendering is vulnerable to RCE attacks when processing nested macros
    cvelistv5