CVE-2025-53836

XWiki Rendering is vulnerable to RCE attacks when processing nested macros

State
Published
Severity
10.0 Critical
Published
Jul 14, 2025
Updated
Jul 15, 2025
Reserved
Jul 9, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-863 Incorrect Authorization
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
xwiki-renderingxwiki
  • >= 4.2-milestone-1, < 13.10.11Affected
  • >= 14.0, < 14.4.7Affected
  • >= 14.5, < 14.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.