XWiki Remote Macros
cpe:2.3:a:xwiki:pro_macros:*:*:*:*:*:*:*
- >= 1.0, < 1.26.5
A remote code execution vulnerability exists in the XWiki Remote Macros Confluence Paste Code macro, affecting versions 1.0 prior to 1.26.5. The issue arises from the title parameter not being properly escaped, allowing for XWiki syntax injection. This vulnerability can be exploited by any user who can edit a page.
Exploitation of this vulnerability allows for remote code execution on the server where XWiki is hosted.
To reproduce this vulnerability, insert the Confluence Paste Code macro into a page, specifying a title that includes unescaped XWiki syntax, such as a reference to a code execution macro. Alternatively, the vulnerability can be exploited through the Office document viewer macro by injecting a similar payload, as described in the related Jira issue XWIKI-20449.
Users can update to XWiki Remote Macros version 1.26.5 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.