Description
XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the classes parameter in the panel macro allows remote code execution for any user who can edit any page The classes parameter is used without escaping in XWiki syntax, thus allowing XWiki syntax injection which enables remote code execution. Version 1.26.5 contains a patch for the issue.
Problem types
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Product status
References
github.com/...macros/security/advisories/GHSA-48f4-h726-74p5
github.com/...ommit/3ca815294bf54fc024b2363efbece7aa08b8efd5
github.com/...s-ui/src/main/resources/XWiki/Macros/Panel.xml
jira.xwiki.org/browse/XWIKI-20449