CVE-2025-24893 — Vulnerability in xwiki-platform-se…ch-solr-ui
XWiki Platform allows remote code execution as guest via SolrSearchMacros request
What Should I Do?
Patch Immediately
This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.
Does your project use an affected org.xwiki.platform:xwiki-platform-search-solr-ui version?
Paste your pom.xml to check it for CVE-2025-24893 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
This vulnerability has been patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1.
Workarounds
This line in Main.SolrSearchMacros can be edited to match the rawResponse macro defined here with a content type of application/xml, instead of simply outputting the content of the feed.
References
- https://jira.xwiki.org/browse/XWIKI-22149
- https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40
Attribution
This vulnerability has been reported by John Kwak for Trend Micro's Zero Day Initiative.
Advisory Timeline
- First published February 20, 2025 (644 days ago).
- Last revised October 30, 2025 — 252 days after initial publication.
- Added to CISA's Known Exploited Vulnerabilities catalog 251 days after publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 16.4.1 for org.xwiki.platform:xwiki-platform-search-solr-ui -->
<!-- Update pom.xml dependency version to 15.10.11 for org.xwiki.platform:xwiki-platform-search-solr-ui -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.xwiki.platform:xwiki-platform-search-solr-ui Maven · Affected: All versions | 16.4.1 |
| org.xwiki.platform:xwiki-platform-search-solr-ui Maven · Affected: All versions | 15.10.11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562jWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24893ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40WEB
- https://github.com/xwiki/xwiki-platformPACKAGE
- 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#L955WEB
- https://github.com/xwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01ef40/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L2824WEB
- https://jira.xwiki.org/browse/XWIKI-22149WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893WEB
Frequently Asked Questions
- What is CVE-2025-24893?
- XWiki Platform allows remote code execution as guest via SolrSearchMacros request. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-24893?
- CVE-2025-24893 affects org.xwiki.platform:xwiki-platform-search-solr-ui. It has a 85.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24893 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.
Added to KEV catalog: October 30, 2025
Remediation deadline: November 20, 2025
Also Known As
Related CVEs
- CVE-2023-45137CRITICAL
XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages
- CVE-2023-29514CRITICAL
XWiki vulnerable to Code Injection in template provider administration
- CVE-2023-36470CRITICAL
XWiki Platform vulnerable to Code Injection in icon themes
- CVE-2023-45134CRITICAL
XWiki Platform XSS vulnerability from account in the create page form via template provider
- CVE-2024-31984CRITICAL
XWiki Platform: Remote code execution through space title and Solr space facet
- CVE-2023-29207HIGH
Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro
- CVE-2025-49582HIGH
XWiki's required right warnings for macros are incomplete
- CVE-2025-66472MEDIUM
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication