SecurityContext

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

IdName
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code
CWE-94Improper Control of Generation of Code

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2025-10-302025-11-20no
vulncheck2025-03-19—no

Nuclei templates

IdUrl
CVE-2025-24893https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24893.yaml

Public exploits

UrlSourceAdded date
https://jira.xwiki.org/browse/XWIKI-22149nvd2025-02-20
https://github.com/MattiaCervelli/CVE-2025-24893_Analysispoc-in-github2026-08-19
https://github.com/MattiaCervelli/CVE-2025-24893_Analysis.gitvulncheck-xdb2026-08-19
https://github.com/endusdksla/xwiki-cve-2025-24893poc-in-github2026-07-09
https://github.com/endusdksla/xwiki-cve-2025-24893.gitvulncheck-xdb2026-07-09

References

UrlSourceTags
https://github.com/xwiki/xwiki-platform/commit/67021db9b8ed26c2236a653269302a86bf01ef40nvdPatch
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rr6p-3pfg-562jnvdVendor Advisory
https://jira.xwiki.org/browse/XWIKI-22149nvdExploit, Issue Tracking, Vendor Advisory
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/resour…nvdProduct
https://github.com/xwiki/xwiki-platform/blob/67021db9b8ed26c2236a653269302a86bf01ef40/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm#L2824nvdProduct
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24893nvdUS Government Resource
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24893.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-11-21&host_type=src&vulnerability=cve-2025-24893vulncheckVulncheck Reported Exploitation
https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2025-24893&date=2026-11-21vulncheckVulncheck Reported Exploitation
https://www.bitsight.com/blog/rondodox-botnet-infrastructure-analysisvulncheckVulncheck Reported Exploitation

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

ProductAffectedPlatform boundSourcesUrl
xwiki:xwiki>= 16.0.0, < 16.4.1; >= 5.4, < 15.10.11; = 5.3; = 5.3 milestone2; = 5.3 rc1nonvd/v1/products/xwiki/xwiki

Projects

RepositoryLink kindsIndexedUrl
xwiki/xwiki-platformcommit, fix, package, security_advisoryyes/v1/repositories/xwiki/xwiki-platform

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