CVE-2025-32429 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter

Critical 9.3 Published Updated

Attackers can inject SQL via the sort parameter in the getdeleteddocuments.vm template, allowing unauthorized data access or modification in XWiki Platform.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-32429?

CVE-2025-32429 is a critical SQL injection vulnerability in Xwiki Xwiki, published on 24 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 9.4-rc-1 through 16.10.5 and 17.0.0-rc-1 through 17.2.2, it's possible for anyone to inject SQL using the parameter sort of the getdeleteddocuments.vm. It's injected as is as an ORDER BY value. This is fixed in versions 16.10.6 and 17.3.0-rc-1.

Weakness: CWE-89

Which versions are affected by CVE-2025-32429?

4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-distribution-war. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-distribution-war MavenFrom 17.0.0-rc-117.3.0-rc-1
org.xwiki.platform:xwiki-platform-distribution-war MavenFrom 17.0.0-rc-117.3.0-rc-1
org.xwiki.platform:xwiki-platform-distribution-war MavenFrom 9.4-rc-116.10.6
org.xwiki.platform:xwiki-platform-distribution-war MavenFrom 9.4-rc-116.10.6

Products include Xwiki Xwiki.

How do I fix CVE-2025-32429?

Upgrade org.xwiki.platform:xwiki-platform-distribution-war to a fixed version for your release line: 17.3.0-rc-1 or 16.10.6.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-32429 being exploited?

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

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 3 proofs of concept on GitHub.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-vr59-gm53-v7cq.

Is CVE-2025-32429 in your software?

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

Check your SBOMs for free