# CVE-2025-32968: org.xwiki.platform:xwiki-platform-oldcore allows SQL injection in short form select requests through the script query API

- 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.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-23T14:41:54.000Z
- Modified: 2026-06-17T09:12:52.930Z
- Also known as: GHSA-g9jj-75mx-wjcx
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki is a generic wiki platform. In versions starting from 1.6-milestone-1 to before 15.10.16, 16.4.6, and 16.10.1, it is possible for a user with SCRIPT right to escape from the HQL execution context and perform a blind SQL injection to execute arbitrary SQL statements on the database backend. 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 issue has been patched in versions 16.10.1, 16.4.6 and 15.10.16. There is no known workaround, other than upgrading XWiki. The protection added to this REST API is the same as the one used to validate complete select queries, making it more consistent. However, while the script API always had this protection for complete queries, it's important to note that it's a very strict protection and some valid, but complex, queries might suddenly require the author to have programming right.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 1.6-milestone-1, < 15.10.16; >= 16.0.0-rc-1, < 16.4.6; >= 16.5.0-rc-1, < 16.10.1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 1.6-milestone-1 before 15.10.16; from 16.0.0-rc-1 before 16.4.6; from 16.5.0-rc-1 before 16.10.1
- xwiki xwiki: from 1.6 before 15.10.16; from 16.0.0 before 16.4.6; from 16.5.0 up to 16.10.1

## 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 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://jira.xwiki.org/browse/XWIKI-22718> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g9jj-75mx-wjcx> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32968> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2025-32968](https://www.cve.org/CVERecord?id=CVE-2025-32968), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-g9jj-75mx-wjcx](https://github.com/advisories/GHSA-g9jj-75mx-wjcx), CC-BY-4.0, modified 2025-04-23
- NVD: [CVE-2025-32968](https://nvd.nist.gov/vuln/detail/CVE-2025-32968), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32968 · Whole record: https://cve.day/CVE-2025-32968.json · Rebuilt by cve.day 2026-11-25T22:58:56.856Z
