CVE-2025-32429 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter
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.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-distribution-war Maven | From 17.0.0-rc-1 | 17.3.0-rc-1 |
org.xwiki.platform:xwiki-platform-distribution-war Maven | From 17.0.0-rc-1 | 17.3.0-rc-1 |
org.xwiki.platform:xwiki-platform-distribution-war Maven | From 9.4-rc-1 | 16.10.6 |
org.xwiki.platform:xwiki-platform-distribution-war Maven | From 9.4-rc-1 | 16.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.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-vr59-gm53-v7cq.