cve.bz

CVE-2025-32968

8.6 highEPSS 0.6%

High (8.6) in xwiki xwiki. EPSS 0.6% chance of exploitation in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-oldcore 15.10.16, 16.10.1, 16.4.6.

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.

Severity

CVSS 4.0

8.6 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% chance of exploitation in the next 30 days; higher than 48% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g9jj-75mx-wjcxMavenorg.xwiki.platform:xwiki-platform-oldcore>=1.6-milestone-1 <15.10.1615.10.16
GHSA-g9jj-75mx-wjcxMavenorg.xwiki.platform:xwiki-platform-oldcore>=16.0.0-rc-1 <16.4.616.4.6
GHSA-g9jj-75mx-wjcxMavenorg.xwiki.platform:xwiki-platform-oldcore>=16.5.0-rc-1 <16.10.116.10.1

References

Check your stackJSON