CVE-2025-55729 XWiki Remote Macros vulnerable to remote code execution using the ConfluenceLayoutSection macro
Attackers with page edit permissions can execute arbitrary code via syntax injection in the ConfluenceLayoutSection macro.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-55729?
CVE-2025-55729 is a critical code injection vulnerability in xwikisas xwiki-pro-macros, published on 9 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-116
Which versions are affected by CVE-2025-55729?
How do I fix CVE-2025-55729?
No fix has been published for CVE-2025-55729 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-55729 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55729 exists.
Sources
Also known as GHSA-22xj-jpjg-gpgw.