CVE-2025-32971
lowpriority · track · 15OT risk · elevatedEPSS 0.004 · 34 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-search-solr-api16.0.0-rc-1 → 16.4.4osvUSpkg:maven/org.xwiki.platform/xwiki-platform-search-solr-api
- Maven org.xwiki.platform:xwiki-platform-search-solr-api16.5.0-rc-1 → 16.8.0-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-search-solr-api
- Maven org.xwiki.platform:xwiki-platform-search-solr-api4.5.1 → 15.10.13osvUSpkg:maven/org.xwiki.platform/xwiki-platform-search-solr-api
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0898xwiki: Mehrere SchwachstellenDeutsch2025-04-28csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in xwiki ausnutzen, um falsche Informationen darzustellen, einen Denial-of-Service auszulösen, Benutzerrechte zu erlangen oder Cross-Site-Scripting durchzuführen.
- GHSA-987p-r3jc-8c8vSolr script service doesn't take dropped programming right into account2025-04-29ghsa · osvUS
### 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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-987p-r3jc-8c8vcnnvd
- https://jira.xwiki.org/browse/XWIKI-22474cnnvd
- https://www.xwiki.org/xwiki/bin/view/Download/Patchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-987p-r3jc-8c8venisa_euvd
- https://jira.xwiki.org/browse/XWIKI-22474enisa_euvd
- https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan