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.
How to fix
- xwiki xwiki15.10.13, 16.4.4, 16.8.0 or later
- org.xwiki.platform:xwiki-platform-search-solr-api15.10.13, 16.4.4, 16.8.0-rc-1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwiki xwiki | 4.5.1 ≤ v < 15.10.13, 16.0.0 ≤ v < 16.4.4, 16.5.0 ≤ v < 16.8.0 | 15.10.13, 16.4.4, 16.8.0 |
| org.xwiki.platform:xwiki-platform-search-solr-apiMaven | 4.5.1 ≤ v < 15.10.13, 16.0.0-rc-1 ≤ v < 16.4.4, 16.5.0-rc-1 ≤ v < 16.8.0-rc-1 | 15.10.13, 16.4.4, 16.8.0-rc-1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.