{"id":"CVE-2025-32969","published":"2025-04-23T15:33:03Z","modified":"2025-04-23T16:15:40Z","title":"org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 1.8, < 15.10.16",">= 16.0.0-rc-1, < 16.4.6",">= 16.5.0-rc-1, < 16.10.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A SQL injection flaw in the query endpoint of the REST API in XWiki's xwiki-platform (the xwiki-platform-rest-server component) lets an attacker escape the HQL execution context and reach the database backend. An unauthenticated remote attacker can exploit it without user interaction, using a blind SQL injection that can read data such as password hashes and, depending on the database, run UPDATE, INSERT, or DELETE statements, even when the options preventing unregistered users from viewing or editing pages are enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T12:59:39Z"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.80009,"percentile":0.99615,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-09-04","exploitedFirstSeen":"2025-09-04","ransomware":false,"evidence":[{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2025-32969","date":"2025-09-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-13&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-14&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-16&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-17&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-18&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-21&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-22&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-25&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-26&host_type=src&vulnerability=cve-2025-32969","date":"2026-09-26"}],"evidenceTotal":18,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f69v-xrj8-rhxf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5c11a874bd24a581f534d283186e209bbccd8113","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22691","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rest-server","vulnerableRanges":[">=1.8, <15.10.16",">=16.0.0-rc-1, <16.4.6",">=16.5.0-rc-1, <16.10.1"],"patched":["15.10.16","16.4.6","16.10.1"],"from":["GHSA-f69v-xrj8-rhxf"],"provenance":"source"}],"advisories":[{"id":"GHSA-f69v-xrj8-rhxf","url":"https://github.com/advisories/GHSA-f69v-xrj8-rhxf","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rest-server","vulnerableRanges":[">=1.8, <15.10.16"],"patched":["15.10.16"],"provenance":"source","from":"GHSA"},{"id":"GHSA-f69v-xrj8-rhxf","url":"https://github.com/advisories/GHSA-f69v-xrj8-rhxf","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rest-server","vulnerableRanges":[">=16.0.0-rc-1, <16.4.6"],"patched":["16.4.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-f69v-xrj8-rhxf","url":"https://github.com/advisories/GHSA-f69v-xrj8-rhxf","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-rest-server","vulnerableRanges":[">=16.5.0-rc-1, <16.10.1"],"patched":["16.10.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2025-12170","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-12170","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2025-32969","name":"XWiki REST API Query - SQL Injection","severity":"critical","path":"http/cves/2025/CVE-2025-32969.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-32969.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2025-04-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-32969","provenance":"source"},{"date":"2025-09-04","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2025-32969","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":66.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 423 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9961"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.51,"detail":"base score 9.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2024-45591","published":"2024-09-10","fixed":"16.3.0-rc-1","kev":false},{"cve":"CVE-2025-46554","published":"2025-04-30","fixed":"16.7.0","kev":false,"link":{"from":"CVE-2025-46554","to":"CVE-2025-32969","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-rest-server","fromFixed":"16.4.3","toFixed":"16.4.6","daysApart":-7}]}},{"cve":"CVE-2025-29925","published":"2025-03-19","fixed":"16.10.0-rc-1","kev":false,"link":{"from":"CVE-2025-29925","to":"CVE-2025-32969","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-rest-server","fromFixed":"16.10.0-rc-1","toFixed":"16.10.1","daysApart":35},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-rest-server","fromFixed":"15.10.14","toFixed":"15.10.16","daysApart":35}]}},{"cve":"CVE-2025-32969","published":"2025-04-23","fixed":"16.10.1","kev":false},{"cve":"CVE-2025-49584","published":"2025-06-13","fixed":"17.0.0","kev":false,"link":{"from":"CVE-2025-32969","to":"CVE-2025-49584","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-rest-server","fromFixed":"16.4.6","toFixed":"16.4.7","daysApart":51}]}},{"cve":"CVE-2025-52472","published":"2025-10-06","fixed":"17.4.2","kev":false},{"cve":"CVE-2025-66473","published":"2025-12-10","fixed":"17.7.0-rc-1","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-rest-server"}}