CVE-2025-24893
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.
Weakness
- CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | XWiki Platform Eval Injection Vulnerability |
|---|---|
| Vendor / product | XWiki / Platform |
| Date added | 2025-10-30 |
| Federal remediation due date | 2025-11-20 |
| 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. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-10-30 |
Timeline
- 2025-02-20Published by the CNA19:19 UTC
- 2025-02-20GitHub advisory published (GHSA-rr6p-3pfg-562j)same day
- 2025-04-07First Exploit-DB entry (EDB-ID 52136)46 days after publication
- 2025-10-30Added to the CISA KEV catalog252 days after publication
- 2025-10-30CISA SSVC decision recorded252 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52429 | webapps | multiple | 2025-09-16 | no |
| EDB-ID 52136 | webapps | multiple | 2025-04-07 | no |
Nuclei templates:
- CVE-2025-24893: XWiki Platform - Remote Code Execution
GitHub advisory GHSA-rr6p-3pfg-562j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-search-solr-ui | from 16.0.0-rc-1 before 16.4.1 | 16.4.1 |
| Maven org.xwiki.platform:xwiki-platform-search-solr-ui | from 5.3-milestone-2 before 15.10.11 | 15.10.11 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki xwiki | from 5.4 before 15.10.11fixed in 15.10.11from 16.0.0 before 16.4.1fixed in 16.4.15.3no fix listed | 15.10.1116.4.1not listed |
References
- https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562j
- https://jira.xwiki.org/browse/XWIKI-22149
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-24893'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-24893'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-24893'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-24893'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-24893'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).