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 title in the confluence paste code 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 has a fix for the issue.
Problem types
CWE-116: Improper Encoding or Escaping of Output
Product status
References
github.com/...macros/security/advisories/GHSA-5w8v-h22g-j2mp
github.com/...ommit/049716df415aaf00938a91d618d382777820d2af
github.com/...Confluence/Macros/ConfluencePasteCodeMacro.xml
jira.xwiki.org/browse/XWIKI-20449