cve.bz

CVE-2025-24893 XWiki Platform Eval Injection Vulnerability

9.8 criticalKEVExploitEPSS >99.9%Fix available

Critical (9.8) in XWiki Platform. In CISA KEV since 2025-10-30. EPSS >99.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-search-solr-ui 15.10.11, 16.4.1.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
>99.9% (unchanged from >99.9% a week ago; 99.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2025-10-30, due 2025-11-20
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-24893 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-24893?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-24893?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-24893 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xwiki:xwikifrom 5.4 before 15.10.11
xwiki:xwikifrom 16.0.0 before 16.4.1
xwiki:xwiki5.3
xwiki:xwiki5.3:milestone2
xwiki:xwiki5.3:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rr6p-3pfg-562jMavenorg.xwiki.platform:xwiki-platform-search-solr-ui>=5.3-milestone-2 <15.10.1115.10.11
GHSA-rr6p-3pfg-562jMavenorg.xwiki.platform:xwiki-platform-search-solr-ui>=16.0.0-rc-1 <16.4.116.4.1

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • gunzf0x/CVE-2025-24893 Harbor Check: matches CVE 23 stars, created
    PoC for CVE-2025-24893: XWiki' Remote Code Execution exploit for versions prior to 15.10.11, 16.4.1 and 16.5.0RC1.
  • dollarboysushil/CVE-2025-24893-XWiki-Unauthenticated-RCE-Exploit-POC Harbor Check: matches CVE 17 stars, created
    CVE-2025-24893 is a critical unauthenticated remote code execution vulnerability in XWiki (versions < 15.10.11, 16.4.1, 16.5.0RC1) caused b…
  • b0ySie7e/CVE-2025-24893 Harbor Check: matches CVE 11 stars, created
  • iSee857/CVE-2025-24893-PoC Harbor Check: matches CVE 10 stars, created
    XWiki SolrSearchMacros 远程代码执行漏洞PoC(CVE-2025-24893)
  • Hex00-0x4/CVE-2025-24893-XWiki-RCE Harbor Check: matches CVE 6 stars, created
    This vulnerability could allow a malicious user to execute remote code by sending appropriately crafted requests to the default search engi…
38 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON