Remote code execution as guest via SolrSearchMacros request in xwiki (CVE-2025-24893)
Published In CISA KEV since Sources: pwn.watch, CVE.org, OSV
What is affected, what to do
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`.
The vulnerability is being actively exploited; treat it as a priority. Update xwiki to version 15.10.11. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- CryptPad Xwiki-platform
gte 5.3-milestone-2, < 15.10.11..*
- CryptPad Xwiki-platform
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: pwn.watch, CVE.org, OSV
99.97 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.98
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 236.87 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 99.97 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.98
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 30 October 2025
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-95
Response and mitigation
Why act now?
Prioritisation rationale
The flaw yields unauthenticated remote code execution via a single GET request — no login, no user interaction, no special network path. The CVSS vector is maximal (network-reachable, no privileges, no interaction, full C/I/A impact) and EPSS places the exploitation likelihood in the top fraction of all tracked CVEs; working PoC is literally embedded in the CVE description. Internet-exposed XWiki instances — notably Confluence alternatives in engineering teams and public wikis at universities, public-sector bodies and open-source projects — are therefore priority 1 for patching or takedown within 24 hours. Internal SSO-gated instances are second-tier but still critical, because any insider with network reach can act as a guest-equivalent attacker.
Runbook step 1
Immediate response (0-24 h)
- Upgrade XWiki to a patched release without delay: 15.10.11 (LTS), 16.4.1 (stable) or 16.5.0RC1. Take a database snapshot and
permanent directorybackup first — if the instance was already compromised, persistence may live inside XWiki documents. - If patching is not immediately feasible, apply the vendor workaround: edit
Main.SolrSearchMacrosinSolrSearchMacros.xmlat line 955 so it uses therawResponsemacro frommacros.vm#L2824with content typeapplication/xml, instead of rendering the feed content directly. - Verify exploitability by requesting
/xwiki/bin/get/Main/SolrSearch?media=rss&text=}}}{{async async=false}}{{groovy}}println("Hello from" + " search text:" + (23 + 19)){{/groovy}}{{/async}}— if the RSS title contains "Hello from search text:42", the instance is vulnerable. - Put internet-exposed XWiki instances behind authentication (reverse proxy with basic auth or forced SSO) or disconnect them from the internet until patched. Guest access is the primary attack vector.
- Compromise assessment: grep access logs of the last 60 days for
SolrSearchrequests containing{{groovy}},{{async,{{python}},{{velocity}}or URL-encoded variants (%7B%7Bgroovy%7D%7D). Any hit triggers full IR, because RCE ran as thexwikiservice user. - Rotate every secret the XWiki process knew: DB credentials in
hibernate.cfg.xml, LDAP bind accounts, SMTP, API keys stored in configuration objects — unless exploitation can be ruled out.
- Upgrade XWiki to a patched release without delay: 15.10.11 (LTS), 16.4.1 (stable) or 16.5.0RC1. Take a database snapshot and
Runbook step 2
Mitigation layers
- Network segmentation: deny outbound internet from the XWiki host via egress firewall to break second-stage payload delivery and reverse shells. Allow only DB, LDAP and SMTP as explicit destinations.
- WAF/reverse-proxy rule: block or quarantine requests to
/xwiki/bin/*/Main/SolrSearchwhen thetextparameter contains the tokens{{groovy}},{{async,{{python}},{{velocity}},}}},{{/or their URL-encoded equivalents. Add a generic rule flagging{{in query strings for unauthenticated sessions. - Hardening: disable Groovy, Python and Velocity scripting in
xwiki.cfg, or restrict them to users with programming rights (xwiki.rendering.transformations.execution.*), where functionally acceptable. Revoke guest permissions to render these macros. - OS least privilege: run XWiki as an unprivileged user (
xwiki:xwiki) withNoNewPrivileges=yes,ProtectSystem=strict,ProtectHome=yesin the systemd unit. Write access only topermanent directoryand logs. - IPS/Suricata: signature on HTTP URI pattern
SolrSearchcombined withgroovyor%7Bgroovy%7Din the query string; alert on exfiltration patterns such as long base64 blobs in XWiki POST bodies. - Review backup strategy: keep offline backups of the XWiki database and
permanent directoryso that, if compromise is discovered later, a clean restore point from before the first exploit attempt exists.
Runbook step 3
Detection rules
- Web access log (Apache/Nginx/Tomcat): regex
GET.*/xwiki/bin/(get|view)/Main/SolrSearch.*(groovy|async|velocity|python|%7B%7B)— any match from an unauthenticated session is an exploitation attempt, not scanner noise. - Sigma shape (process_creation, Linux):
ParentImageending injavawith command line containingxwiki,ChildImageissh,bash,curl,wget,python,perl,ncor/tmp/*. Direct child processes of the XWiki JVM are near-nonexistent under normal operations. - EDR/Sysmon (Windows Tomcat deployments): EID 1 with
ParentImage=*java.exeandImagein (cmd.exe,powershell.exe,certutil.exe,bitsadmin.exe); additionally EID 3 for outbound connections from the Java process to non-whitelisted IPs. - KQL snippet (Sentinel/Defender):
W3CIISLog | where csUriStem contains "SolrSearch" and csUriQuery has_any ("groovy","%7Bgroovy","{{async","velocity") | summarize count() by cIP, bin(TimeGenerated, 1h). - Zeek/Suricata: monitor XWiki HTTP traffic for URI length > 500 bytes on the
/Main/SolrSearchendpoint — typical exploit payloads are far longer than legitimate search queries. - XWiki application log: review entries containing
GroovyException,ScriptExecutionException, or newly created documents containing script macros inAttachmentHistory.
- Web access log (Apache/Nginx/Tomcat): regex
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: pwn.watch, NVD (NIST), OSV (Open Source Vulnerabilities), cvelistv5, CISA KEV Catalog, CVE.org (MITRE)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| xwiki | xwiki-platform |
|
|
| xwiki | xwiki |
|
|
| maven | org.xwiki.platform:xwiki-platform-search-solr-ui |
|
|
Vendors and products
Weakness classes (CWE)
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Variant
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Entry at MITRE CWE-95
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| PoC-in-GitHub (nomi-sec) | cve-2025-24893 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2025-24893 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2025-24893 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- github.comxwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562jweb, x_refsource_CONFIRM, Vendor advisory, pwn-watch
- NVD (NIST)NVD: CVE-2025-24893advisory, pwn-watch
- github.comxwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf0…web, x_refsource_MISC, Patch
- github.comxwiki/xwiki-platformpackage
- github.comxwiki/xwiki-platform/blob/568447cad5172d97d6bbcfda9f6183689c2cf…web, x_refsource_MISC, Product
- github.comxwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01e…web, x_refsource_MISC, Product
- jira.xwiki.orgbrowse/XWIKI-22149web, x_refsource_MISC, Exploit, Issue tracking, Vendor advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893web, government-resource, US government resource
- pwn.watchpwn.watch: XWiki Platform: Platform Eval Injection Vulnerabilitypwn-watch
- cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2025-24893"><img src="https://intel.neosec.eu/badge/cve/CVE-2025-24893.svg?lang=en" alt="CVE-2025-24893 – NEOSEC Intel" height="20"></a>