CVE-2025-53836
published 2025-07-15CVE-2025-53836: 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…
PriorityP353high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
0.53%
40.5th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | — | — |
| xwiki | xwiki | >= 14.0 < 14.4.7 | 14.4.7 |
| xwiki | xwiki | >= 14.5 < 14.10 | 14.10 |
| xwiki | xwiki | >= 4.3 < 13.10.11 | 13.10.11 |
| xwiki | xwiki-rendering | — | — |
| xwiki | xwiki-rendering | — | — |
| xwiki | xwiki-rendering | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
osv·2025-07-14
CVE-2025-53836 [CRITICAL] XWiki Rendering is vulnerable to RCE attacks when processing nested macros
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
### Impact
The default macro content parser didn'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](https://extensions.xwiki.org/xwiki/bin/view/Extension/Cache%20Macro) and [chart](https://extensions.xwiki.org/xwiki/bin/view/Extension/Chart%20Macro) macros that are bundled in XWiki use the vulnerable feature. The following XWiki syntax, when used inside a comment in XWiki, demonstrates the privilege escalation from comment right to programming right and thus remote code execution (RCE) that is possible due to this:
```
{{cache}}{{groovy}}println("Hello
GHSA
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
ghsa·2025-07-14
CVE-2025-53836 [CRITICAL] CWE-863 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
### Impact
The default macro content parser didn'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](https://extensions.xwiki.org/xwiki/bin/view/Extension/Cache%20Macro) and [chart](https://extensions.xwiki.org/xwiki/bin/view/Extension/Chart%20Macro) macros that are bundled in XWiki use the vulnerable feature. The following XWiki syntax, when used inside a comment in XWiki, demonstrates the privilege escalation from comment right to programming right and thus remote code execution (RCE) that is possible due to this:
```
{{cache}}{{groovy}}println("Hello
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86dhttps://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9https://jira.xwiki.org/browse/XRENDERING-689https://jira.xwiki.org/browse/XWIKI-20375https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9
2025-07-15
Published