CVE-2025-24893: critical vulnerability in xwiki-platform
Remote code execution as guest via SolrSearchMacros request in xwiki
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Any visitor to an XWiki site can execute arbitrary code on the server without logging in, by sending a specially crafted request to the search feature. This completely compromises the confidentiality, integrity, and availability of the entire XWiki installation.
The SolrSearch macro fails to properly sanitize user-supplied input in the `text` parameter before evaluating it as code, allowing unauthenticated attackers to inject and execute arbitrary Groovy code on the server. The vulnerability exists in the response handling mechanism that outputs the feed content without proper escaping or content-type restrictions.
The full analysis of this CVE is available in Portuguese →
In the same product, most dangerous first.