logo

CVE-2025-32971 org.xwiki.platform:xwiki-platform-search-solr-api

Package

Manager: maven
Name: org.xwiki.platform:xwiki-platform-search-solr-api
Vulnerable Version: >=4.5.1 <15.10.13 || >=16.0.0-rc-1 <16.4.4 || >=16.5.0-rc-1 <16.8.0-rc-1

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00091 pctl0.26783

Details

Solr script service doesn't take dropped programming right into account ### Impact The Solr script service that is accessible in XWiki's scripting API normally requires programming right 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 right to either cause a high load by indexing documents or to temporarily remove documents from the search index. We're not aware that this is exploitable in XWiki itself. To reproduce, a user with programming right can add the following XWiki syntax to a page: ``` {{velocity}} $xcontext.dropPermissions() $services.solr.index('document:xwiki:Main.WebHome') {{/velocity}} ``` This should trigger an error in XWiki's log, otherwise the installation is vulnerable. ### Patches This has been patched in XWiki 15.10.13, 16.8.0RC1, and 16.4.4. ### Workarounds We're not aware of any workarounds apart from being careful whom you grant script right.

Metadata

Created: 2025-04-29T13:59:45Z
Modified: 2025-04-30T17:29:21Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-987p-r3jc-8c8v/GHSA-987p-r3jc-8c8v.json
CWE IDs: ["CWE-863"]
Alternative ID: GHSA-987p-r3jc-8c8v
Finding: F006
Auto approve: 1