CVE-2025-32971
published 2025-04-30CVE-2025-32971: 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…
PriorityP415low3.8CVSS 3.1
AVNACLPRHUINSUCNILAL
EPSS
0.33%
25.3th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | >= 16.0.0 < 16.4.4 | 16.4.4 |
| xwiki | xwiki | >= 16.5.0 < 16.8.0 | 16.8.0 |
| xwiki | xwiki | >= 4.5.1 < 15.10.13 | 15.10.13 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Solr script service doesn't take dropped programming right into account
osv·2025-04-29
CVE-2025-32971 [LOW] Solr script service doesn't take dropped programming right into account
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}}
$xcon
GHSA
Solr script service doesn't take dropped programming right into account
ghsa·2025-04-29
CVE-2025-32971 [LOW] CWE-863 Solr script service doesn't take dropped programming right into account
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}}
$xcon
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/6570f40f976aec82baf388b5239d1412cab238c9https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-987p-r3jc-8c8vhttps://jira.xwiki.org/browse/XWIKI-22474https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-987p-r3jc-8c8vhttps://jira.xwiki.org/browse/XWIKI-22474
2025-04-30
Published