XWiki Pro Macros: excerpt-include title and content injection executes code
- Published
- Last modified
- Status
- published
- Known exploitation
- Not listed in CISA KEV
- Fix
- Fixed in 1.14.5
- Public exploit
- None on Exploit-DB
Summary
XWiki Pro Macros, a set of XWiki rendering macros used for migrating Confluence content, is affected. An attacker who can merely edit a page can inject executable macro code through the excerpt-include macro, which can compromise the confidentiality, integrity, and availability of the entire XWiki installation.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. From 1.13 until 1.14.5, the `excerpt-include` macro does not properly escape the included page's title and executes `excerpt` content with the macro's rights. The title handling in `xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/ExcerptInclude.xml` and the rendering of `excerpt` content into XWiki syntax both allow syntax injection. Any user able to edit a page, even without script or programming rights, can supply executable macro syntax in the title or `excerpt` and cause remote code execution when the page is included. This affects confidentiality, integrity and availability of the whole XWiki installation. This issue is fixed in version 1.14.5.
Affected versions
- xwikisas xwiki-pro-macros
From 1.13 · fixed in 1.14.5