CVE-2025-32971
Description
XWiki is a generic wiki platform. In versions starting from 4.5.1 to before 15.10.13, from 16.0.0-rc-1 to before 16.4.4, and from 16.5.0-rc-1 to before 16.8.0-rc-1, the Solr script service doesn't take dropped programming rights into account. The Solr script service that is accessible in XWiki's scripting API normally requires programming rights to be called. Due to using the wrong API for checking rights, it doesn't take the fact into account that programming rights might have been dropped by calling `$xcontext.dropPermissions()`. If some code relies on this for the safety of executing Velocity code with the wrong author context, this could allow a user with script rights to either cause a high load by indexing documents or to temporarily remove documents from the search index. This issue has been patched in versions 15.10.13, 16.4.4, and 16.8.0-rc-1.
Weakness
- CWE-863: Incorrect Authorization
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-04-30 |
Timeline
- 2025-04-29GitHub advisory published (GHSA-987p-r3jc-8c8v)1 day before publication
- 2025-04-30Published by the CNA14:54 UTC
- 2025-04-30CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-987p-r3jc-8c8v, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-search-solr-api | from 16.0.0-rc-1 before 16.4.4 | 16.4.4 |
| Maven org.xwiki.platform:xwiki-platform-search-solr-api | from 16.5.0-rc-1 before 16.8.0-rc-1 | 16.8.0-rc-1 |
| Maven org.xwiki.platform:xwiki-platform-search-solr-api | from 4.5.1 before 15.10.13 | 15.10.13 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki xwiki | from 4.5.1 before 15.10.13fixed in 15.10.13from 16.0.0 before 16.4.4fixed in 16.4.4from 16.5.0 before 16.8.0fixed in 16.8.0 | 15.10.1316.4.416.8.0 |
References
- https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-987p-r3jc-8c8v
- https://jira.xwiki.org/browse/XWIKI-22474
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-32971'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-32971'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-32971'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-32971'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).