Skip to content
Server Security Center
KEVcritical9.8

CVE-2025-24893: XWiki Platform Eval Injection

XWiki Platform · listed in the CISA catalog of actively exploited vulnerabilities since 2025-10-30.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
>99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2025-10-30
US federal due date 2025-11-20
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2025-24893 explained

CVE-2025-24893 is an eval injection flaw in XWiki Platform, a generic wiki platform. Any guest, without logging in, can run arbitrary code on the server through a request to the SolrSearch page. This threatens the confidentiality, integrity and availability of the whole XWiki installation. CISA lists it as known to be exploited.

Impact

An unauthenticated remote attacker can execute arbitrary code over the network with low complexity and no user interaction. Successful exploitation compromises the confidentiality, integrity and availability of the entire XWiki installation. CISA rates the issue as automatable, so attackers can exploit it at scale, with total technical impact. CISA's Known Exploited Vulnerabilities catalog confirms attackers use it. Whether it is used in ransomware campaigns is unknown.

Who is affected

The CVE record lists xwiki-platform as affected from 5.3-milestone-2 up to but not including 15.10.11, and from 16.0.0-rc-1 up to but not including 16.4.1. The record's structured fixed-version field names no fixed version. However, the vulnerability description states the flaw is patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA 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.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • xwiki-platform
    Affected
    • 5.3-milestone-2
    • < 15.10.11
    • 16.0.0-rc-1
    • < 16.4.1
    Fixed in
    not stated

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: github.com/xwiki/xwiki-platform/security/advisories/GHSA-…
  • CISA's deadline for US federal agencies: 2025-11-20 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Upgrade XWiki to 15.10.11, 16.4.1 or 16.5.0RC1 or later, as stated in the vulnerability description and vendor advisory.
  2. If you cannot upgrade, apply the vendor's workaround: edit the SolrSearch macros page so the feed is returned via the rawResponse macro with an XML content type.
  3. Restrict network access to XWiki instances, especially from the internet, until patched.
  4. Check XWiki servers for signs of compromise, since attackers are known to exploit this flaw.
  5. Follow CISA's required action, including BOD 22-01 guidance for cloud services.

The structured CVE data names no fixed version, but the description states fixes in 15.10.11, 16.4.1 and 16.5.0RC1. Confirm the right version in the vendor advisory. Until you can upgrade, apply the vendor's SolrSearch macros workaround, limit network exposure, and follow CISA's required action: apply vendor mitigations or discontinue use if mitigations are unavailable.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Questions about CVE-2025-24893

Does an attacker need an account to exploit CVE-2025-24893?
No. The description states any guest can perform remote code execution without logging in. The CVSS vector also shows no privileges and no user interaction are required.
Is this vulnerability being exploited?
Yes. CISA added CVE-2025-24893 to its Known Exploited Vulnerabilities catalog on 2025-10-30, with a US federal due date of 2025-11-20. Known ransomware use is listed as unknown.
What if we cannot upgrade immediately?
The vendor describes a workaround: edit the SolrSearch macros page so the feed output uses the rawResponse macro with an XML content type instead of outputting the feed content directly. Also restrict network access to the instance.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.