Xwiki xwiki-platform
org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API
XWiki is a generic wiki platform. In versions starting from 1.8 and prior to 15.10.16, 16.4.6, and 16.10.1, it is possible for a remote unauthenticated user to escape from the HQL execution context and perform a blind SQL injection to execute arbitrary SQL statements on the database backend, including when "Prevent unregistered users from viewing pages, regardless of the page rights" and "Prevent unregistered users from editing pages, regardless of the page rights" options are enabled. 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.8, < 15.10.16
- >= 16.0.0-rc-1, < 16.4.6
- >= 16.5.0-rc-1, < 16.10.1
Fixed in 15.10.16, 16.4.6, 16.10.1
Mitigation
Upgrade xwiki-platform to 15.10.16 or 16.4.6 or 16.10.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 127 days after publication; not in CISA KEV. First PoC: nuclei template: XWiki REST API Query - SQL Injection (nuclei template, 28 Aug 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: XWiki REST API Query - SQL Injection | 28 Aug 2025 | 14 Nov 2026 |