Remote code execution as guest via SolrSearchMacros request in xwiki
CVE-2025-24893Published 20 Feb 2025, 19:19 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 30 Oct 2025; US federal agencies must fix it by 20 Nov 2025.
Real-world risk
10.0/ 10Critical
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| xwiki-platformCommon | >= 5.3-milestone-2, < 15.10.11; >= 16.0.0-rc-1, < 16.4.1 | 15.10.11, 16.4.1 |
What to do
Update to a fixed version: 15.10.11, 16.4.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- Exploit-DB entry (link)
- Exploit-DB entry (link)
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Public proof of concept on GitHub
- Metasploit module (link)
- Nuclei scanner template (link)
- CISA SSVC: exploitation active
EPSS 99.9% chance of exploitation in 30 days (percentile 100), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 1 × threat 110.000
- Rounded to one decimal between 0.1 and 1010.0
Exploitation and evidence timeline
- 20 Feb 2025 Published
- 30 Oct 2025 Added to CISA KEV
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 10.0 (cvss fallback)
Weakness
CWE-95
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562jvendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40misc
- 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#L955misc
- https://github.com/xwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01ef40/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L2824misc
- https://jira.xwiki.org/browse/XWIKI-22149misc
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893government-resource
- CVE-2025-24893 on CVE.org