What’s Vulnerable › Vulnerabilities
CVE-2025-53836: XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-15 · updated 2026-06-17
- Weakness: CWE-94
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 products
- xwiki-platform: from 4.3 before 13.10.11; from 14.0 before 14.4.7; from 14.5 before 14.10; 4.2-milestone1, 4.2-milestone2, 4.2-milestone3, 4.2-rc1 — fixed in 13.10.11, 14.10, 14.4.7
How to fix
Upgrade to a fixed version: xwiki-platform 13.10.11, 14.10, 14.4.7. Check the vendor advisory for mitigations.
References
- https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9
- https://jira.xwiki.org/browse/XRENDERING-689
- https://jira.xwiki.org/browse/XWIKI-20375
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9
Get alerted when CVE-2025-53836 or the next vulnerability affects your stack