{"answers":{"affected":"4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-search-solr-ui. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2025-24893 in the wild since at least 30 Oct 2025.","fix":"Upgrade org.xwiki.platform:xwiki-platform-search-solr-ui to a fixed version for your release line: 16.4.1 or 15.10.11. US federal agencies must fix it by 20 Nov 2025.","what":"CVE-2025-24893 is a critical code injection vulnerability in Xwiki Xwiki, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-24893 and fix it if it is affected.\n\nWhat it is: CVE-2025-24893 is a critical code injection vulnerability in Xwiki Xwiki, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-24893 in the wild since at least 30 Oct 2025.\n\nAffected packages and fixed versions:\n- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven): affected from 16.0.0-rc-1; fixed in 16.4.1\n- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven): affected from 16.0.0-rc-1; fixed in 16.4.1\n- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven): affected from 5.3-milestone-2; fixed in 15.10.11\n- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven): affected from 5.3-milestone-2; fixed in 15.10.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24893/ (Markdown: https://insights.sbomify.com/CVE-2025-24893/index.md)","id":"CVE-2025-24893","markdown":"https://insights.sbomify.com/CVE-2025-24893/index.md","name":"CVE-2025-24893","record":{"aliases":["GHSA-rr6p-3pfg-562j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"XWiki platform","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary Groovy code via SolrSearch requests, compromising the entire XWiki installation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"xwiki","vendor":"xwiki"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"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 `\u003chost\u003e/xwiki/bin/get/Main/SolrSearch?media=rss\u0026text=%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.","ecosystems":["Maven"],"exploits":{"exploitdb":2,"first_seen":"2025-02-20","github_poc":45,"max_poc_stars":23,"metasploit":1,"nuclei":1,"refs":[{"date":"2025-08-04T02:29:17Z","kind":"github_poc","ref":"https://github.com/gunzf0x/CVE-2025-24893","stars":23,"title":"PoC for CVE-2025-24893: XWiki' Remote Code Execution exploit for versions prior to 15.10.11, 16.4.1 and 16.5.0RC1."},{"date":"2025-08-04T16:50:28Z","kind":"github_poc","ref":"https://github.com/dollarboysushil/CVE-2025-24893-XWiki-Unauthenticated-RCE-Exploit-POC","stars":17,"title":"CVE-2025-24893 is a critical unauthenticated remote code execution vulnerability in XWiki (versions \u003c 15.10.11, 16.4.1, 16.5.0RC1) caused by improper handling of Groovy expressions in the SolrSearch macro."},{"date":"2025-09-03T22:25:53Z","kind":"github_poc","ref":"https://github.com/b0ySie7e/CVE-2025-24893","stars":11,"title":null},{"date":"2025-02-25T07:11:51Z","kind":"github_poc","ref":"https://github.com/iSee857/CVE-2025-24893-PoC","stars":10,"title":"XWiki SolrSearchMacros 远程代码执行漏洞PoC（CVE-2025-24893）"},{"date":"2025-08-03T14:49:37Z","kind":"github_poc","ref":"https://github.com/Infinit3i/CVE-2025-24893","stars":6,"title":"PoC exploits CVE-2025-24893 , a remote code execution (RCE) vulnerability in XWiki caused by improper sandboxing in Groovy macros rendered asynchronously. It allows arbitrary command execution through injection into RSS-based SolrSearch endpoints."},{"date":"2025-08-08T05:38:11Z","kind":"github_poc","ref":"https://github.com/Hex00-0x4/CVE-2025-24893-XWiki-RCE","stars":6,"title":"This vulnerability could allow a malicious user to execute remote code by sending appropriately crafted requests to the default search engine SolrSearch"},{"date":"2025-08-03T11:05:12Z","kind":"github_poc","ref":"https://github.com/AliElKhatteb/CVE-2024-32019-POC","stars":5,"title":"this is a poc for the CVE-2025-24893"},{"date":"2025-08-03T12:39:52Z","kind":"github_poc","ref":"https://github.com/hackersonsteroids/cve-2025-24893","stars":5,"title":"Modified exploit for CVE-2025-24893"}],"tier":"exploited"},"has_fix":true,"headline":"XWiki Platform Eval Injection","id":"CVE-2025-24893","indexable":true,"kev":{"dateAdded":"2025-10-30","dueDate":"2025-11-20","knownRansomwareCampaignUse":"Unknown","product":"Platform","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.","vendorProject":"XWiki","vulnerabilityName":"XWiki Platform Eval Injection Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":"xwiki:xwiki","products":["xwiki:xwiki"],"type":"code_injection","year":"2025"},"n_packages":4,"n_references":5,"next":{"headline":"SAML Response Signature Verification Bypass in SPID.AspNetCore.Authentication","id":"CVE-2025-24894"},"packages":[{"ecosystem":"Maven","fixed":["16.4.1"],"introduced":["16.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-search-solr-ui","purl":null,"source":"GHSA-rr6p-3pfg-562j"},{"ecosystem":"Maven","fixed":["16.4.1"],"introduced":["16.0.0-rc-1"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-search-solr-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-search-solr-ui","source":"GHSA-rr6p-3pfg-562j"},{"ecosystem":"Maven","fixed":["15.10.11"],"introduced":["5.3-milestone-2"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-search-solr-ui","purl":null,"source":"GHSA-rr6p-3pfg-562j"},{"ecosystem":"Maven","fixed":["15.10.11"],"introduced":["5.3-milestone-2"],"last_affected":[],"package":"org.xwiki.platform:xwiki-platform-search-solr-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-search-solr-ui","source":"GHSA-rr6p-3pfg-562j"}],"prev":{"headline":"OpenProject stored HTML injection vulnerability","id":"CVE-2025-24892"},"products":["xwiki-platform"],"published":"2025-02-20","related":[{"cvss_score":10,"headline":"XWiki Rendering is vulnerable to RCE attacks when processing nested macros","id":"CVE-2025-53836","kev_date_added":null,"published":"2025-07-14"},{"cvss_score":10,"headline":"XWiki allows remote code execution through the extension sheet","id":"CVE-2024-55662","kev_date_added":null,"published":"2024-12-12"},{"cvss_score":10,"headline":"XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList","id":"CVE-2024-55877","kev_date_added":null,"published":"2024-12-12"},{"cvss_score":10,"headline":"XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet","id":"CVE-2024-37901","kev_date_added":null,"published":"2024-07-31"},{"cvss_score":10,"headline":"XWiki programming rights may be inherited by inclusion","id":"CVE-2024-38369","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":10,"headline":"XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet","id":"CVE-2024-31465","kev_date_added":null,"published":"2024-04-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["xwiki"]},"summary":"Unauthenticated attackers can execute arbitrary Groovy code via SolrSearch requests, compromising the entire XWiki installation.","url":"https://insights.sbomify.com/CVE-2025-24893/"}