Junglewise Threat Intelligence

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

Executive brief

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.

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

Related threats