Remote code execution as guest via SolrSearchMacros request in xwiki
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 5.3-milestone-2 to before 15.10.11; 16.0.0-rc-1 to before 16.4.1 | 15.10.11, 16.4.1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) | 5.3-milestone-2 to before 15.10.11 | 15.10.11 | Patch available | GHSA-rr6p-3pfg-562j |
| — | org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) | 16.0.0-rc-1 to before 16.4.1 | 16.4.1 | Patch available | GHSA-rr6p-3pfg-562j |
- xwiki-platform VendorXWiki Affected 5.3-milestone-2 to before 15.10.11; 16.0.0-rc-1 to before 16.4.1 Fixed in 15.10.11, 16.4.1 Patch available CNA
- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Vendor— Affected 5.3-milestone-2 to before 15.10.11 Fixed in 15.10.11 Patch available GHSA-rr6p-3pfg-562j
- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Vendor— Affected 16.0.0-rc-1 to before 16.4.1 Fixed in 16.4.1 Patch available GHSA-rr6p-3pfg-562j
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 5.4 to before 15.10.11; 16.0.0 to before 16.4.1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.3:-:*:*:*:*:*:* | 5.3 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.3:milestone2:*:*:*:*:*:* | 5.3 milestone2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.3:rc1:*:*:*:*:*:* | 5.3 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 5.4 to before 15.10.11; 16.0.0 to before 16.4.1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.3:-:*:*:*:*:*:* Versions 5.3 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.3:milestone2:*:*:*:*:*:* Versions 5.3 milestone2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.3:rc1:*:*:*:*:*:* Versions 5.3 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 15.10.11, 16.4.1
- Fix · GHSA-rr6p-3pfg-562j org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Fixed in 15.10.11 Advisory →
- Fix · GHSA-rr6p-3pfg-562j org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Fixed in 16.4.1 Advisory →
Timeline
- 2025-10-30 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2025-24893
- 2026-10-03 Alias added: GHSA-rr6p-3pfg-562j
References
Advisory 2
Other 4
- 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://github.com/xwiki/xwiki-platform
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893
More Xwiki vulnerabilities
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
- TI-2023-19071 Injection in xwiki-platform CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-24893 · CVE Program
- CVE-2025-24893 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-rr6p-3pfg-562j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences