CVE-2025-53837 org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue

Critical 9.9 Published Updated

Attackers can inject script macros via rendering output to execute arbitrary code and access wiki contents in XWiki.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-53837?

CVE-2025-53837 is a critical code injection vulnerability in xwiki-rendering, published on 18 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Prior to versions 14.10.2 and 15.0 RC1, any user who can edit their own user profile or any other document can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The reason is that rendering output is included as content of HTML macros without further escaping and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights. This has been patched in XWiki 14.10.2 and 15.0 RC1 by making sure that rendering output cannot close the surrounding HTML macro. A possible workaround is available. It is, in principle, possible to add escaping to all places where rendering output is used in wiki documents, but at the moment there is no list of them.

Weakness: CWE-95

Which versions are affected by CVE-2025-53837?

2 open source packages ship an affected version, including org.xwiki.rendering:xwiki-rendering-xml.

PackageAffectedFixed in
org.xwiki.rendering:xwiki-rendering-xml MavenAll versions14.10.2
org.xwiki.rendering:xwiki-rendering-xml MavenAll versions14.10.2

How do I fix CVE-2025-53837?

Upgrade org.xwiki.rendering:xwiki-rendering-xml to 14.10.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-53837 being exploited?

There is no known exploitation of CVE-2025-53837 in the wild and no public exploit code.

Sources

Also known as GHSA-26vp-8gxg-v4pg.

Is CVE-2025-53837 in your software?

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

Check your SBOMs for free