CVE-2025-32968
org.xwiki.platform:xwiki-platform-oldcore allows SQL injection in short form select requests through the script query API
Also known as GHSA-g9jj-75mx-wjcx
Mitigation
- Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 15.10.16, 16.4.6, 16.10.1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-oldcore (>= 1.6-milestone-1, < 15.10.16)
- Anyone running 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
Vulnerability facts
- Affected
- org.xwiki.platform:xwiki-platform-oldcore >= 1.6-milestone-1, < 15.10.16
- Fixed in
- 15.10.16, 16.4.6, 16.10.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 8.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 1.90% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-89
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-oldcore | >= 1.6-milestone-1, < 15.10.16 | 15.10.16, 16.4.6, 16.10.1 | osv |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-32968. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-32968.md Affected: org.xwiki.platform:xwiki-platform-oldcore >= 1.6-milestone-1, < 15.10.16 Fixed in: 15.10.16, 16.4.6, 16.10.1 Steps: 1. Search this machine and project for org.xwiki.platform:xwiki-platform-oldcore (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2025-32968 being exploited?
There is no confirmed exploitation: CVE-2025-32968 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.90% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-32968?
High: CVSS 8.6 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-32968?
org.xwiki.platform:xwiki-platform-oldcore >= 1.6-milestone-1, < 15.10.16.
Is there a fix for CVE-2025-32968?
Yes. Fixed in 15.10.16, 16.4.6, 16.10.1. Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 15.10.16, 16.4.6, 16.10.1 (or later in the same release line).
How do I check if I'm affected by CVE-2025-32968?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.