CVE-2025-24893XWiki Platform SolrSearch remote code execution
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
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.
Check whether you're affected
Find every system running Xwiki, Xwiki-platform and compare its version with the affected versions.
Update to a fixed version
- Update Xwiki, Xwiki-platform to 15.10.11, 16.4.1 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
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.
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 products | Versions |
|---|---|
| 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
- Published:
- Added to CISA KEV:
- 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
- github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40(Patch)
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562j(Vendor Advisory)
- jira.xwiki.org/browse/XWIKI-22149(Exploit, Issue Tracking, Vendor Advisory)
- github.com/xwiki/xwiki-platform/blob/568447cad5172d97d6bbcfda9f6183689c2cf086/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrSearchMacros.xml#L955(Product)
- github.com/xwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01ef40/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L2824(Product)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.