CVE-2025-32972: The lesscss script service allows cache clearing without programming right
Impact The script API of the LESS compiler in XWiki is incorrectly checking for rights when calling the cache cleaning API, making it possible to clean the cache without having programming right. The only impact of this is a slowdown in XWiki execution as the caches are re-filled.
Published Apr 29, 2025 · Updated Apr 30, 2025
Affected packages
org.xwiki.platform:xwiki-platform-lesscss-script
- Ecosystem
- Maven
- Affected
- >= 6.1-milestone-1, < 15.10.12
- Fixed in
- 15.10.12
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-lesscss-script
org.xwiki.platform:xwiki-platform-lesscss-script
- Ecosystem
- Maven
- Affected
- >= 16.0.0-rc-1, < 16.4.3
- Fixed in
- 16.4.3
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-lesscss-script
org.xwiki.platform:xwiki-platform-lesscss-script
- Ecosystem
- Maven
- Affected
- >= 16.5.0-rc-1, < 16.8.0-rc-1
- Fixed in
- 16.8.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-lesscss-script
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The script API of the LESS compiler in XWiki is incorrectly checking for rights when calling the cache cleaning API, making it possible to clean the cache without having programming right. The only impact of this is a slowdown in XWiki execution as the caches are re-filled. As this vulnerability requires script right to exploit, and script right already allows unlimited execution of scripts, the additional impact due to this vulnerability is low.
Patches
This has been patched in XWiki 15.10.12, 16.4.3 and 16.8.0 RC1.
Workarounds
We're not aware of any workaround except for being careful whom to give script right, which is a general recommendation.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rp38-24m3-rx87
- https://github.com/xwiki/xwiki-platform/commit/91752122d8782f171f8728004a57bdaefc34253e
- https://jira.xwiki.org/browse/XWIKI-22462
- https://nvd.nist.gov/vuln/detail/CVE-2025-32972
- https://github.com/advisories/GHSA-rp38-24m3-rx87
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
