Advisories for Maven/Org.xwiki.rendering/Xwiki-Rendering-Transformation-Macro package

2025

XWiki Rendering is vulnerable to RCE attacks when processing nested macros

The default macro content parser didn'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. The following XWiki syntax, when used inside a comment in XWiki, demonstrates the privilege escalation from comment right to programming right and thus …