Skip to main content
← All vulnerabilities
CVE-2025-53836GHSA-32MF-57H2-64X9

XWiki Rendering is vulnerable to RCE attacks when processing nested macros

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.10.11, 14.4.7, 14.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • xwiki xwiki-rendering

    From 4.2-milestone-1 · fixed in 13.10.11; From 14.0 · fixed in 14.4.7; From 14.5 · fixed in 14.10

  • org.xwiki.rendering:xwiki-rendering-transformation-macroMaven

    From 4.2-milestone-1 · fixed in 13.10.11

  • org.xwiki.rendering:xwiki-rendering-transformation-macroMaven

    From 14.0 · fixed in 14.4.7

  • org.xwiki.rendering:xwiki-rendering-transformation-macroMaven

    From 14.5 · fixed in 14.10

References 4

GitHub · xwiki/xwiki-rendering

jira.xwiki.org