Patchfirst
CVE-2025-24893 KEVPublic exploit Critical · 9.8 EPSS >99.9%

XWiki Platform Eval Injection Vulnerability

XWiki · Platform

Summary

An eval injection flaw in the Platform component of XWiki (its Solr search handling via the SolrSearch endpoint) lets an unauthenticated guest inject template directives that are dynamically evaluated. An attacker needs only network access to a vulnerable instance, with no authentication or user interaction, to execute arbitrary code on the whole XWiki installation.

Official description · NVD

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.

Breakdown
69.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 27 days after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+27 days
  3. Added to CISA KEVEU database agrees+8 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

4 related vulnerabilities in the same code over 22 months. The latest fix listed for xwiki-platform-search-solr-ui is 16.4.1.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2023-29207Improper Neutralization of Script-Related HTML Tags (XSS) in the…15 Apr 2023
  2. same family
    CVE-2023-36469Code injection through NotificationRSSService in XWiki Platform29 Jun 2023
  3. same family
    CVE-2024-31982XWiki Platform: Remote code execution as guest via…10 Apr 2024
  4. relatedMedium

    Why these are linked:

    This CVECVE-2025-24893XWiki Platform Eval Injection20 Feb 2025KEV

Fixes in xwiki-platform-search-solr-uiMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 15.10-rc-1CVE-2024-3198410 Apr 2024
  2. 16.4.1CVE-2025-2489320 Feb 2025KEVLatest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

unauthenticated request to public web endpoint

Any guest can perform arbitrary remote code execution through a request to `SolrSearch`
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Groovy code executes server-side

arbitrary remote code execution through a request to
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2025-24893 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.xwiki.platform:xwiki-platform-search-solr-ui.

Mavenorg.xwiki.platform:xwiki-platform-search-solr-uiGHSA-rr6p-3pfg-562j

Upgrade to 16.4.1 or later

Set the version to 16.4.1 or later in your pom.xml or build.gradle.

The first fix for CVE-2025-24893.

Affected versions, by release line

If you runUpgrade to
16.0.0-rc-1 up to 16.4.116.4.1
5.3-milestone-2 up to 15.10.1115.10.11

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close