SecurityContext

CVE-2025-32968: XWiki - SQL Injection

  • Cve: CVE-2025-32968
  • Name: XWiki - SQL Injection
  • 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.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion, and compromising database confidentiality and integrity.
  • Remediation: Upgrade to versions 15.10.16, 16.4.6, or 16.10.16 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: logged_in
  • Requirements: User must have SCRIPT right
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00587
  • Epss percentile: 0.48754
  • Assignee: [email protected]
  • Published at: 2025-04-23T16:15:47Z
  • Age in days: 580
  • Modified at: 2026-06-17T09:12:52Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-32968
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://jira.xwiki.org/browse/XWIKI-22718nvd2025-04-23

References

UrlSourceTags
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g9jj-75mx-wjcxnvdVendor Advisory
https://jira.xwiki.org/browse/XWIKI-22718nvdExploit, Issue Tracking, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
xwiki:xwiki>= 16.5.0, <= 16.10.1; >= 16.0.0, < 16.4.6; >= 1.6, < 15.10.16nonvd/v1/products/xwiki/xwiki

Projects

RepositoryLink kindsIndexedUrl
xwiki/xwiki-platformpackage, security_advisoryyes/v1/repositories/xwiki/xwiki-platform

Index

  • Repositories: 10
  • Repositories high signal: 10
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-04-23
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 142594
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports