← Vulnerability feed

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.

9.8 CVSS 3.1 Critical CISA KEV since 30 Oct 2025 EPSS 100% · top 0.1% CWE-95 · CWE-95CWE-94 · Code injection
9.8CVSS 3.1 base score
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
6References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2023-27479Xwiki injection vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with view righ…EPSS 1.1%9.8CVE-2024-31996Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of esca…EPSS 2.1%9.8CVE-2024-31982Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's databas…EPSS 35%9.8CVE-2024-21650XWiki user registration RCE via name fieldsXWiki Platform is vulnerable to remote code execution through its guest user registration feature. An attacker can inject malicious payloads into the…EPSS 93%analysed9.8CVE-2023-46731XWiki Platform unescaped URL parameter allows remote code executionXWiki Platform fails to properly escape the section URL parameter used when displaying administration sections, allowing injection of code such as Gr…EPSS 89%analysed9.8CVE-2023-26477XWiki Platform unauthenticated code injection via newThemeName parameterXWiki Platform versions from 6.3-rc-1 and 6.2.4 onward allow injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros,…EPSS 75%analysed9.8CVE-2022-29161Xwiki broken cryptographic algorithm vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 cert…EPSS 0.41%9.6CVE-2023-45136Xwiki cross-site scripting vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When document names are validated according …EPSS 5.1%

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.