# CVE-2025-24893: Remote code execution as guest via SolrSearchMacros request in xwiki

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Yes: in CISA KEV since 2025-10-30; federal due date 2025-11-20
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 85.55% (percentile 100, 2026-11-26)
- **CWE:** CWE-95
- **Aliases:** EDB-52136, EDB-52429, GHSA-rr6p-3pfg-562j
- **Published:** 2025-02-20T19:19:10.597Z
- **Modified:** 2026-06-17T08:59:47.940Z

## 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

## 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

- Maven `org.xwiki.platform:xwiki-platform-search-solr-ui`: affected \>= 5.3-milestone-2, \< 15.10.11; fixed 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)

## 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).

## 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 a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562j>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-24893>
- patch: <https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40>
- exploit: <https://jira.xwiki.org/browse/XWIKI-22149>
- exploit: <https://www.exploit-db.com/exploits/52136>
- exploit: <https://www.exploit-db.com/exploits/52429>
- 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>
- other: <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>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893>
- other: <https://github.com/xwiki/xwiki-platform>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-24893>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rr6p-3pfg-562j> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52136>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-24893> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-24893>
