# CVE-2024-55663: XWiki Platform has an SQL injection in getdocuments.vm with sort parameter

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-12-12T18:53:49.491Z
- Modified: 2026-06-17T08:11:22.150Z
- Also known as: GHSA-wh34-m772-5398
- Related: CVE-2024-55879
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform. Starting in version 6.3-milestone-2 and prior to versions 13.10.5 and 14.3-rc-1, in `getdocument.vm`; the ordering of the returned documents is defined from an unsanitized request parameter (request.sort) and can allow any user to inject HQL. Depending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries. This has been patched in 13.10.5 and 14.3-rc-1. There is no known workaround, other than upgrading XWiki.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 6.3-milestone-2, < 13.10.5; >= 14.0-rc-1, < 14.3-rc-1
- org.xwiki.platform:xwiki-platform-distribution-war (Maven): from 6.3-milestone-2 before 13.10.5; from 14.0-rc-1 before 14.3-rc-1
- xwiki xwiki: from 6.4 before 13.10.5; from 14.0 before 14.3; 6.3

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wh34-m772-5398> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/673076e2e8b88a36cdeaf7007843aa9ca1a068a0> (patch, web)
- <https://jira.xwiki.org/browse/XWIKI-17568> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55663> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-55663](https://www.cve.org/CVERecord?id=CVE-2024-55663), CVE Terms of Use, modified 2024-12-16
- GitHub Advisory Database: [GHSA-wh34-m772-5398](https://github.com/advisories/GHSA-wh34-m772-5398), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-55663](https://nvd.nist.gov/vuln/detail/CVE-2024-55663), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-55663 · Whole record: https://cve.day/CVE-2024-55663.json · Rebuilt by cve.day 2026-11-25T22:58:50.068Z
