Vulnerability · Published Apr 30, 2025 · Assigned by GitHub_M

CVE-2025-32971XWiki Solr script service doesn't take dropped programming right into account

Low 3.8

In plain English

A low-severity incorrect authorization in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.8Low
Exploit odds (30 days)0.4%top 65.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-search-solr-api15.10.13GHSA-987p-r3jc-8c8v
Mavenorg.xwiki.platform:xwiki-platform-search-solr-api16.4.4GHSA-987p-r3jc-8c8v
Mavenorg.xwiki.platform:xwiki-platform-search-solr-api16.8.0-rc-1GHSA-987p-r3jc-8c8v

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 4.5.1, < 15.10.13>= 16.0.0-rc-1, < 16.4.4>= 16.5.0-rc-1, < 16.8.0-rc-1

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

References