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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.rendering:xwiki-rendering-transformation-macro | 13.10.11 | GHSA-32mf-57h2-64x9 |
| Maven | org.xwiki.rendering:xwiki-rendering-transformation-macro | 14.4.7 | GHSA-32mf-57h2-64x9 |
| Maven | org.xwiki.rendering:xwiki-rendering-transformation-macro | 14.10 | GHSA-32mf-57h2-64x9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-689 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20375 x_refsource_MISC