Skip to content
RedCVE

CVE-2025-24893XWiki Platform SolrSearch remote code execution

ExploitedXWikiPublished:

CVSS score

9.8

Critical

CVSS 3.1 from NVD

Exploit probability (EPSS)

100.0%

100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 30 Oct 2025.

US federal deadline to fix: 20 Nov 2025.

In plain words

Any unauthenticated visitor can run code on the XWiki server by sending a crafted search request to the SolrSearch endpoint. Versions before 15.10.11, from 16.0.0 before 16.4.1, and 5.3 and later 5.x releases are affected, and CISA reports active exploitation. Upgrade to XWiki 15.10.11, 16.4.1 or later, or apply the documented workaround to the SolrSearchMacros template.

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 30 Oct 2025.

    US federal agencies must fix it by 20 Nov 2025. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Xwiki, Xwiki-platform and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Xwiki, Xwiki-platform to 15.10.11, 16.4.1 or later, on the branch you run.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
XWiki Xwiki≥ 5.4, < 15.10.11 · ≥ 16.0.0, < 16.4.1 · 5.3
XWiki Xwiki-platform>= 5.3-milestone-2, < 15.10.11 · >= 16.0.0-rc-1, < 16.4.1

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-24893 being exploited?

Yes. CISA added CVE-2025-24893 to its Known Exploited Vulnerabilities catalog on 30 Oct 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-24893?

CVE-2025-24893 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Xwiki Xwiki (≥ 5.4, < 15.10.11; ≥ 16.0.0, < 16.4.1; 5.3), Xwiki Xwiki-platform (>= 5.3-milestone-2, < 15.10.11; >= 16.0.0-rc-1, < 16.4.1)

Is there a patch for CVE-2025-24893?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.