Vulnerability record · CVE-2025-24893 · published 20 February 2025
CVE-2025-24893: XWiki SolrSearch unauthenticated remote code execution
Xwiki · Xwiki
XWiki Platform's SolrSearch endpoint evaluates user-supplied search text as Groovy code, allowing arbitrary remote code execution. The flaw is reachable by any unauthenticated guest, and successful exploitation compromises the confidentiality, integrity and availability of the entire XWiki installation.
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any guest can perform arbitrary remote code execution through a request to `SolrSearch`. This impacts the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, without being logged in, go to `<host>/xwiki/bin/get/Main/SolrSearch?media=rss&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28"Hello%20from"%20%2B%20"%20search%20text%3A"%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20`. If there is an output, and the title of the RSS feed contains `Hello from search text:42`, then the instance is vulnerable. This vulnerability has been patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1. Users are advised to upgrade. Users unable to upgrade may edit `Main.SolrSearchMacros` in `SolrSearchMacros.xml` on line 955 to match the `rawResponse` macro in `macros.vm#L2824` with a content type of `application/xml`, instead of simply outputting the content of the feed.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated network-reachable remote code execution with a CVSS score of 9.8, active exploitation indicated by CISA KEV and near-maximum EPSS probability.
What it is
XWiki Platform's SolrSearch endpoint evaluates user-supplied search text as Groovy code, allowing arbitrary remote code execution. The flaw is reachable by any unauthenticated guest, and successful exploitation compromises the confidentiality, integrity and availability of the entire XWiki installation.
Impact
An attacker gains remote code execution with the privileges of the XWiki server process, enabling full read and write access to wiki data and the underlying host. This can lead to data theft, defacement, or complete takeover of the installation.
Attack surface
Reached over the network via an HTTP request to the SolrSearch endpoint with a crafted text parameter; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).
Exploitation
The vulnerability is listed in CISA KEV with a due date of 2025-11-20, and EPSS shows a 30-day probability of 0.99864 (99.9th percentile), indicating active exploitation is expected or observed. A public exploit reference is tagged in the vendor Jira issue.
What to do
- Upgrade to XWiki 15.10.11, 16.4.1, or 16.5.0RC1 or later.
- If immediate upgrade is not possible, edit Main.SolrSearchMacros in SolrSearchMacros.xml at line 955 to match the rawResponse macro in macros.vm#L2824 with content type application/xml instead of outputting feed content directly.
- Restrict network access to the XWiki SolrSearch endpoint where feasible.
- Monitor for and block requests containing Groovy or async macro syntax in the text parameter.
- Follow CISA BOD 22-01 guidance for cloud services or discontinue use if mitigations cannot be applied.
Detection
- Search web server and XWiki logs for requests to /xwiki/bin/get/Main/SolrSearch with suspicious text parameters containing {{groovy}}, {{async}}, or similar macro syntax.
- Monitor for RSS feed responses containing unexpected output such as 'Hello from search text:42' or other injected content.
- Alert on outbound network connections or process execution spawned by the XWiki Java process that are not part of normal operation.
- Review XWiki audit logs for unexpected page edits, configuration changes, or new administrative users.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2025-24893 to the Known Exploited Vulnerabilities catalog on 30 October 2025 as "XWiki Platform Eval Injection Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 20 November 2025.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2025-24893 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-24893), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.