Skip to content
OpenAdvisories
Critical · 9.3 Scanner template CVE-2025-32969 EUVD-2025-12170GHSA-f69v-xrj8-rhxf

org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API

Published Apr 23, 2025 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
xwiki xwiki-platform >= 1.8, < 15.10.16, >= 16.0.0-rc-1, < 16.4.6, >= 16.5.0-rc-1, < 16.10.1 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-rest-server >= 1.8, < 15.10.16 15.10.16 GHSA-f69v-xrj8-rhxf
Maven org.xwiki.platform:xwiki-platform-rest-server >= 16.0.0-rc-1, < 16.4.6 16.4.6 GHSA-f69v-xrj8-rhxf
Maven org.xwiki.platform:xwiki-platform-rest-server >= 16.5.0-rc-1, < 16.10.1 16.10.1 GHSA-f69v-xrj8-rhxf

Advisories 1

References