CVE-2025-53836 Details
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.
A vulnerability exists in XWiki Rendering's default macro content parser, specifically in versions 4.2-milestone-1 prior to 13.10.11, 14.4.7, and 14.10. The issue arises because the parser does not maintain the restricted attribute of the transformation context when processing nested macros. This oversight enables the execution of normally prohibited macros in restricted mode, particularly script macros. The vulnerability is present in the cache and chart macros bundled with XWiki, allowing for remote code execution by exploiting the comment feature.
Users can upgrade to XWiki versions 13.10.11, 14.4.7, or 14.10. Alternatively, comments can be disabled for untrusted users until an upgrade is possible, though this will not prevent users with edit rights from adding comments via the object editor.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 | CISA-ADP | Third Party Advisory |
| https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d | [email protected] | Patch |
| https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 | [email protected] | Third Party Advisory |
| https://jira.xwiki.org/browse/XRENDERING-689 | [email protected] | ExploitIssue Tracking |
| https://jira.xwiki.org/browse/XWIKI-20375 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xwiki xwiki | >= 4.3, < 13.10.11 >= 14.0, < 14.4.7 >= 14.5, < 14.10 4.2 milestone1 4.2 milestone2 4.2 milestone3 4.2 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jul 15, 2025 | CVE Modified | CISA-ADP |
| Jul 15, 2025 | New CVE Received | [email protected] |