9.3critical
XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 10.3% (higher than 96% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vr59-gm53-v7cq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 9.4-rc-1, < 16.10.6, >= 17.0.0-rc-1, < 17.3.0-rc-1 | CVE List |
| org.xwiki.platform:xwiki-platform-distribution-war (Maven) | from 9.4-rc-1 before 16.10.6, from 17.0.0-rc-1 before 17.3.0-rc-1 | GitHub Advisory Database |
| xwiki xwiki | from 9.4 before 16.10.6, from 17.0.0 up to 17.2.2 | NVD |
All scores
| GitHub_M | 9.3critical CVSS:4.0 | 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 |
| GitHub | critical CVSS:4.0 | 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 |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
One can see the result of the injection with http://127.0.0.1:8080/xwiki/rest/liveData/sources/liveTable/entries?sourceParams.template=getdeleteddocuments.vm&sort=injected (this example does not work, but it shows that an HQL query was executed with the passed value which look nothing like an order by value, without any kind of sanitation).
Patches
This has been patched in 17.3.0-rc-1, 16.10.6.
Workarounds
There is no known workaround, other than upgrading XWiki.
References
https://jira.xwiki.org/browse/XWIKI-23093
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Attribution
The vulnerability was identifier by Aleksey Solovev from Positive Technologies.
NVD (es)
La plataforma XWiki es una plataforma wiki genérica que ofrece servicios de ejecución para aplicaciones desarrolladas sobre ella. En las versiones 9.4-rc-1 a 16.10.5 y 17.0.0-rc-1 a 17.2.2, cualquiera puede inyectar SQL mediante el parámetro sort de getdeleteddocuments.vm. Se inyecta tal cual como un valor ORDER BY. Esto se solucionó en las versiones 16.10.6 y 17.3.0-rc-1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-32429 changed 2025-07-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vr59-gm53-v7cq changed 2025-07-25 | CC-BY-4.0 |
| NVD | CVE-2025-32429 changed 2026-06-17 | Public domain |