Vulnerability · Published Jul 14, 2025 · Assigned by GitHub_M

CVE-2025-53836XWiki Rendering is vulnerable to RCE attacks when processing nested macros

Critical 10.0

In plain English

A critical-severity incorrect authorization in xwiki-rendering from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro content parser doesn't preserve the restricted attribute of the transformation context when executing nested macros. This allows executing macros that are normally forbidden in restricted mode, in particular script macros. The cache and chart macros that are bundled in XWiki use the vulnerable feature. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. To avoid the exploitation of this bug, comments can be disabled for untrusted users until an upgrade to a patched version has been performed. Note that users with edit rights will still be able to add comments via the object editor even if comments have been disabled.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.rendering:xwiki-rendering-transformation-macro13.10.11GHSA-32mf-57h2-64x9
Mavenorg.xwiki.rendering:xwiki-rendering-transformation-macro14.4.7GHSA-32mf-57h2-64x9
Mavenorg.xwiki.rendering:xwiki-rendering-transformation-macro14.10GHSA-32mf-57h2-64x9

Affected products (as reported)

VendorProductVersions
xwiki xwiki-rendering >= 4.2-milestone-1, < 13.10.11>= 14.0, < 14.4.7>= 14.5, < 14.10

Weakness: CWE-863, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References