Vulnerability · Published Sep 9, 2025 · Assigned by GitHub_M
CVE-2025-55729XWiki Remote Macros vulnerable to remote code execution using the ConfluenceLayoutSection macro
Critical 10.0
In plain English
A critical-severity security flaw in xwiki-pro-macros from xwikisas. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities).
Official 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 ac:type in the ConfluenceLayoutSection 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwikisas | xwiki-pro-macros | >= 1.0, < 1.26.5 |
Weakness: CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwikisas/xwiki-pro-macros/security/advisories/GHSA-22xj-jpjg-gpgw x_refsource_CONFIRM
- https://github.com/xwikisas/xwiki-pro-macros/commit/06e6cf3893227527d0242a11e390642178d9df05 x_refsource_MISC
- https://github.com/xwikisas/xwiki-pro-macros/blob/93ac1a38c829e3ef787379b2b45eb043a573e5f7/xwiki-pro-macros-confluence-bridges/xwiki-pro-macros-confluence-bridges-ui/src/main/resources/Confluence/Macros/ConfluenceLayoutSection.xml#L518 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20449 x_refsource_MISC