High severity · published Jul 14, 2025
CVE-2025-53836
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
8.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
xwiki-rendering · xwiki
>= 4.2-milestone-1, < 13.10.11; >= 14.0, < 14.4.7; >= 14.5, < 14.10 · source: vendor
XW
Xwiki · Xwiki
4.3 before 13.10.11; 14.0 before 14.4.7; 14.5 before 14.10; 4.2; 4.2; 4.2; +1 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-53836
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-53836
Patch
https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d
Third Party Advisory
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9
Exploit
https://jira.xwiki.org/browse/XRENDERING-689
Exploit
https://jira.xwiki.org/browse/XWIKI-20375
More from xwiki-rendering
9.9
CVE-2025-53837
org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue
9.6
CVE-2023-37908
org.xwiki.rendering:xwiki-rendering-xml Improper Neutralization of Invalid Characters in Identifiers in Web Pages vulnerability
9.0
CVE-2025-53835
XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
8.8
CVE-2025-66474
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
8.8
CVE-2023-37912
XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
