Xwikisas xwiki-pro-macros
XWiki Pro Macros: excerpt-include title and content injection executes code
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 and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.13, < 1.14.5
Fixed in 1.14.5
Mitigation
Upgrade xwiki-pro-macros to 1.14.5 or later.
References
- Vendor advisory github.com/xwikisas/xwiki-pro-macros/security/…
- Patch github.com/xwikisas/xwiki-pro-macros/commit/15…
- Release notes github.com/xwikisas/xwiki-pro-macros/releases/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.