{"id":"CVE-2025-24893","published":"2025-02-20T20:15:46Z","modified":"2026-06-17T08:59:47Z","title":"XWiki Platform Eval Injection Vulnerability","vendor":"XWiki","product":"Platform","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"An eval injection flaw in the Platform component of XWiki (its Solr search handling via the SolrSearch endpoint) lets an unauthenticated guest inject template directives that are dynamically evaluated. An attacker needs only network access to a vulnerable instance, with no authentication or user interaction, to execute arbitrary code on the whole XWiki installation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-30T13:35:53Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99974,"percentile":0.99978,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2025-10-30","dueDate":"2025-11-20","ransomware":false,"requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","notes":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562j ; https://nvd.nist.gov/vuln/detail/CVE-2025-24893","provenance":"source"},"vulncheckKev":{"dateAdded":"2025-03-19","exploitedFirstSeen":"2025-03-19","ransomware":false,"evidence":[{"url":"https://cyble.com/blog/cyble-sensors-detect-exploit-attempts-on-ivanti-avtech-ip-cameras/","date":"2025-03-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-20&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-21&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-21"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-22&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-23&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-23"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-24&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-25&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-25"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-27&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-27"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-29&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-29"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-04-30&host_type=src&vulnerability=cve-2025-24893","date":"2025-04-30"}],"evidenceTotal":349,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"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","tags":["Product"]},{"url":"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","tags":["Product"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40","tags":["Patch"]},{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562j","tags":["Vendor Advisory"]},{"url":"https://jira.xwiki.org/browse/XWIKI-22149","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: unauthenticated request to public web endpoint","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"Any guest can perform arbitrary remote code execution through a request to `SolrSearch`","start":105,"end":192}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Groovy code executes server-side","mappingType":"primary_impact","evidence":[{"from":"description","quote":"arbitrary remote code execution through a request to","start":127,"end":179}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=5.3-milestone-2, <15.10.11",">=16.0.0-rc-1, <16.4.1"],"patched":["15.10.11","16.4.1"],"from":["GHSA-rr6p-3pfg-562j"],"provenance":"source"}],"advisories":[{"id":"GHSA-rr6p-3pfg-562j","url":"https://github.com/advisories/GHSA-rr6p-3pfg-562j","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=5.3-milestone-2, <15.10.11"],"patched":["15.10.11"],"provenance":"source","from":"GHSA"},{"id":"GHSA-rr6p-3pfg-562j","url":"https://github.com/advisories/GHSA-rr6p-3pfg-562j","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=16.0.0-rc-1, <16.4.1"],"patched":["16.4.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2025-4562","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-4562","exploited":true,"exploitedSince":"2025-10-30","provenance":"source"},"exploits":[{"id":52136,"url":"https://www.exploit-db.com/exploits/52136","title":"XWiki Platform 15.10.10 - Remote Code Execution","type":"webapps","platform":"multiple","date":"2025-04-07","verified":false,"provenance":"source"},{"id":52429,"url":"https://www.exploit-db.com/exploits/52429","title":"XWiki Platform 15.10.10 - Metasploit Module for Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-09-16","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2025-04-07"},"pocGithub":{"count":37,"skipped":8,"earliest":"2025-02-25","earliestUrl":"https://github.com/iSee857/CVE-2025-24893-PoC","repos":[{"name":"gunzf0x/CVE-2025-24893","url":"https://github.com/gunzf0x/CVE-2025-24893","stars":23,"created":"2025-08-04"},{"name":"dollarboysushil/CVE-2025-24893-XWiki-Unauthenticated-RCE-Exploit-POC","url":"https://github.com/dollarboysushil/CVE-2025-24893-XWiki-Unauthenticated-RCE-Exploit-POC","stars":17,"created":"2025-08-04"},{"name":"b0ySie7e/CVE-2025-24893","url":"https://github.com/b0ySie7e/CVE-2025-24893","stars":11,"created":"2025-09-03"},{"name":"iSee857/CVE-2025-24893-PoC","url":"https://github.com/iSee857/CVE-2025-24893-PoC","stars":10,"created":"2025-02-25"},{"name":"Infinit3i/CVE-2025-24893","url":"https://github.com/Infinit3i/CVE-2025-24893","stars":6,"created":"2025-08-03"}]},"metasploit":[{"name":"Remote Code Execution Vulnerability in XWiki Platform (CVE-2025-24893)","module":"exploit/multi/http/xwiki_unauth_rce_cve_2025_24893","type":"exploit","disclosureDate":"2025-02-20","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/xwiki_unauth_rce_cve_2025_24893.rb"}],"nuclei":[{"id":"CVE-2025-24893","name":"XWiki Platform - Remote Code Execution","severity":"critical","path":"http/cves/2025/CVE-2025-24893.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24893.yaml"}],"first":{"date":"2025-02-20","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/xwiki_unauth_rce_cve_2025_24893.rb"},"provenance":"source"},"exploitRefs":["https://jira.xwiki.org/browse/XWIKI-22149"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2025-02-20","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24893","provenance":"source"},{"date":"2025-02-20","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2025-02-25, Exploit-DB 2025-04-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/xwiki_unauth_rce_cve_2025_24893.rb","provenance":"source"},{"date":"2025-03-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cyble.com/blog/cyble-sensors-detect-exploit-attempts-on-ivanti-avtech-ip-cameras/","provenance":"source"},{"date":"2025-10-30","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2025-10-30","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-4562","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":252},"priority":{"score":66.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 592 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 0.9998"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 2 Exploit-DB entries; 37 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-xwiki-platform-cve-2023-36469","parents":[{"from":"CVE-2023-36469","to":"CVE-2025-24893","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-ui/src/main/resources/XWiki/Notifications/Code/NotificationRSSService.xml"],"commits":["https://github.com/xwiki/xwiki-platform/commit/217e5bb7a657f2991b154a16ef4d5ae9c29ad39c","https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40"],"basis":"rarely changed file"}]},{"from":"CVE-2024-31982","to":"CVE-2025-24893","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-ui/src/main/resources/Main/DatabaseSearch.xml"],"commits":["https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31","https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8","https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-31984","published":"2024-04-10","fixed":"15.10-rc-1","kev":false,"link":{"from":"CVE-2024-31984","to":"CVE-2025-24893","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-solr-ui","fromFixed":"15.10-rc-1","toFixed":"15.10.11","daysApart":316}]}},{"cve":"CVE-2025-24893","published":"2025-02-20","fixed":"16.4.1","kev":true}],"package":"Maven:org.xwiki.platform:xwiki-platform-search-solr-ui"}}