CVE-2025-24893
Remote code execution as guest via SolrSearchMacros request in xwiki
Also known as EDB-52136, EDB-52429, GHSA-rr6p-3pfg-562j
Mitigation
- Upgrade org.xwiki.platform:xwiki-platform-search-solr-ui to one of 15.10.11, 16.4.1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-search-solr-ui (>= 5.3-milestone-2, < 15.10.11)
- Anyone running xwiki-platform >= 5.3-milestone-2, < 15.10.11; >= 16.0.0-rc-1, < 16.4.1
Vulnerability facts
- Affected
- org.xwiki.platform:xwiki-platform-search-solr-ui >= 5.3-milestone-2, < 15.10.11
- Fixed in
- 15.10.11, 16.4.1
- Exploited in the wild
- Yes: in CISA KEV since 2025-10-30; federal due date 2025-11-20
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 85.55% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-95
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-search-solr-ui | >= 5.3-milestone-2, < 15.10.11 | 15.10.11, 16.4.1 | osv |
| xwiki-platform | >= 5.3-milestone-2, < 15.10.11; >= 16.0.0-rc-1, < 16.4.1 | — | cvelist |
Timeline
- 2025-02-20 Published
- 2025-10-30 Added to CISA KEV (exploited in the wild)
- 2025-11-20 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-24893. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-24893.md Affected: org.xwiki.platform:xwiki-platform-search-solr-ui >= 5.3-milestone-2, < 15.10.11 Fixed in: 15.10.11, 16.4.1 Steps: 1. Search this machine and project for org.xwiki.platform:xwiki-platform-search-solr-ui (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- https://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
- https://github.com/xwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01ef40/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L2824
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893
- https://github.com/xwiki/xwiki-platform
FAQ
Is CVE-2025-24893 being exploited?
Yes. CISA lists CVE-2025-24893 in its Known Exploited Vulnerabilities catalog since 2025-10-30, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 85.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-24893?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-24893?
org.xwiki.platform:xwiki-platform-search-solr-ui >= 5.3-milestone-2, < 15.10.11.
Is there a fix for CVE-2025-24893?
Yes. Fixed in 15.10.11, 16.4.1. Upgrade org.xwiki.platform:xwiki-platform-search-solr-ui to one of 15.10.11, 16.4.1 (or later in the same release line).
How do I check if I'm affected by CVE-2025-24893?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.