CVE-2025-24893: XWiki - Remote Code Execution
- Cve: CVE-2025-24893
- Name: XWiki - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary code remotely, compromising confidentiality, integrity, and availability of the entire XWiki installation.
- Remediation: Update to version 15.10.11, 16.4.1, or 16.5.0RC1.
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.99974
- Epss percentile: 0.99979
- Assignee: [email protected]
- Published at: 2025-02-20T20:15:46Z
- Age in days: 641
- Modified at: 2026-06-17T08:59:47Z
- Patch available: yes
- Public exploits total: 98
- References total: 17
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24893
- Nvd status: analyzed
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code |
| CWE-94 | Improper Control of Generation of Code |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|
| cisa | 2025-10-30 | 2025-11-20 | no |
| vulncheck | 2025-03-19 | — | no |
Nuclei templates
Public exploits
References
Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).
Products
Projects
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited: yes
- Known exploited since: 2025-10-30
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2025-03-19
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 98
- Public exploit first date: 2025-02-20
- Remote: yes
- Exposed hosts: 143315
- Checked, none or zero: initial access, authentication required
- Not known: initial access since, hackerone reports
Nuclei template