SQL injection in xwiki-platform
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 1.6-milestone-1 to before 15.10.16; 16.0.0-rc-1 to before 16.4.6; 16.5.0-rc-1 to before 16.10.1 | 15.10.16, 16.4.6, 16.10.1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 1.6-milestone-1 to before 15.10.16 | 15.10.16 | Patch available | GHSA-g9jj-75mx-wjcx |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 16.0.0-rc-1 to before 16.4.6 | 16.4.6 | Patch available | GHSA-g9jj-75mx-wjcx |
| — | org.xwiki.platform:xwiki-platform-oldcore (Maven) | 16.5.0-rc-1 to before 16.10.1 | 16.10.1 | Patch available | GHSA-g9jj-75mx-wjcx |
- xwiki-platform VendorXWiki Affected 1.6-milestone-1 to before 15.10.16; 16.0.0-rc-1 to before 16.4.6; 16.5.0-rc-1 to before 16.10.1 Fixed in 15.10.16, 16.4.6, 16.10.1 Patch available CNA
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 1.6-milestone-1 to before 15.10.16 Fixed in 15.10.16 Patch available GHSA-g9jj-75mx-wjcx
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 16.0.0-rc-1 to before 16.4.6 Fixed in 16.4.6 Patch available GHSA-g9jj-75mx-wjcx
- org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.1 Fixed in 16.10.1 Patch available GHSA-g9jj-75mx-wjcx
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 15.10.16, 16.4.6, 16.10.1
- Fix · GHSA-g9jj-75mx-wjcx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 15.10.16 Advisory →
- Fix · GHSA-g9jj-75mx-wjcx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 16.4.6 Advisory →
- Fix · GHSA-g9jj-75mx-wjcx org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 16.10.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-32968
- 2026-10-03 Alias added: GHSA-g9jj-75mx-wjcx
References
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-32968 · CVE Program
- CVE-2025-32968 · NVD
- FIRST EPSS
- GHSA-g9jj-75mx-wjcx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences