CVE-2025-24893: XWiki Platform eval injection in SolrSearch

CVE-2025-24893 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2025-10-30

XWiki Platform, a collaborative wiki and application development environment, contains a critical flaw in its search functionality. An unauthenticated attacker can execute malicious code on the server by sending a specially crafted web request to the search component. This could lead to a complete takeover of the wiki, including the theft of sensitive data, modification of content, and disruption of services.

Technologies: Xwiki Platform. Vendors: Xwiki.

Quick answers

Is CVE-2025-24893 exploited in the wild?
Yes. CVE-2025-24893 is known to be exploited in the wild, first recorded on 30 October 2025. Treat it as urgent.
How severe is CVE-2025-24893?
Critical severity, with a CVSS score of 9.8, published 30 October 2025.
Which products and versions are affected?
Xwiki Platform 5.4 to 15.10.10, 16.0.0 to 16.4.0.
Is there a fix for CVE-2025-24893?
A patch was published on 2025-10-30: Fixes released in versions 15.10.11 and 16.4.1 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-24893 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-24893?
Check whether you run Xwiki Platform at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An eval injection vulnerability (CWE-95) exists in the SolrSearch component of XWiki Platform. The root cause is improper neutralization of directives in dynamically evaluated code within the `SolrSearchMacros.xml` file. Specifically, the `text` parameter in requests to `/xwiki/bin/get/Main/SolrSearch` with `media=rss` is processed in a way that allows the injection of XWiki syntax and Groovy scripts. An unauthenticated remote attacker can exploit this by sending a crafted URL to execute arbitrary code with the privileges of the XWiki process. This vulnerability has been observed being exploited in the wild. Patches are available in versions 15.10.11, 16.4.1, and 16.5.0RC1.

Affected products

  • XWiki XWiki Platform 5.4 to 15.10.10, 16.0.0 to 16.4.0

Timeline

  • 2025-02-20: disclosed: CVE record created
  • 2025-10-30: advisory: NVD and Vendor advisory published
  • 2025-10-30: kev added: Added to CISA KEV catalog due to active exploitation
  • 2025-10-30: patched: Fixes released in versions 15.10.11 and 16.4.1

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.