# CVE-2025-53836: XWiki Rendering is vulnerable to RCE attacks when processing nested macros

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-07-14T22:03:06.000Z
- Modified: 2026-09-10T03:50:58.039Z
- Also known as: GHSA-32mf-57h2-64x9
- Weaknesses: CWE-94, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-rendering: >= 4.2-milestone-1, < 13.10.11; >= 14.0, < 14.4.7; >= 14.5, < 14.10
- org.xwiki.rendering:xwiki-rendering-transformation-macro (Maven): from 4.2-milestone-1 before 13.10.11; from 14.0 before 14.4.7; from 14.5 before 14.10
- xwiki xwiki: from 4.3 before 13.10.11; from 14.0 before 14.4.7; from 14.5 before 14.10; 4.2

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9> (exploit, third-party-advisory, web)
- <https://jira.xwiki.org/browse/XRENDERING-689> (exploit, issue-tracking, web)
- <https://jira.xwiki.org/browse/XWIKI-20375> (exploit, issue-tracking, web)
- <https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53836> (advisory)
- <https://github.com/xwiki/xwiki-rendering> (package)

## Sources

- CVE List: [CVE-2025-53836](https://www.cve.org/CVERecord?id=CVE-2025-53836), CVE Terms of Use, modified 2025-07-15
- GitHub Advisory Database: [GHSA-32mf-57h2-64x9](https://github.com/advisories/GHSA-32mf-57h2-64x9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-53836](https://nvd.nist.gov/vuln/detail/CVE-2025-53836), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53836 · Whole record: https://cve.day/CVE-2025-53836.json · Rebuilt by cve.day 2026-11-25T22:59:01.253Z
