CVE-2025-53836

XWiki Rendering is vulnerable to RCE attacks when processing nested macros

Published Jul 14, 2025 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-21398 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
Github GHSA Github GHSA GHSA-32mf-57h2-64x9 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
History
Type Values Removed Values Added
First Time appeared Xwiki xwiki
CPEs cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:4.2:milestone1:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:4.2:milestone2:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:4.2:rc1:*:*:*:*:*:*
Vendors & Products Xwiki xwiki
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00885}

Type Values Removed Values Added
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.
Title XWiki Rendering is vulnerable to RCE attacks when processing nested macros
Weaknesses CWE-863
CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2025, 7:49 PM
Reserved
Jul 9, 2025, 2:14 PM
Status
Analyzed
Published
Jul 15, 2025, 12:15 AM
Modified
Jun 17, 2026, 9:39 AM