CVE-2025-55730 XWiki Remote Macros vulnerable to remote code execution using the confluence paste code macro

Critical 10.0 Published Updated

Attackers with page edit permissions can execute arbitrary code via syntax injection in the Confluence paste code 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-55730?

CVE-2025-55730 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 title in the confluence paste code 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-55730?

How do I fix CVE-2025-55730?

No fix has been published for CVE-2025-55730 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-55730 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-55730 exists.

Sources

Also known as GHSA-5w8v-h22g-j2mp.

Is CVE-2025-55730 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free