Skip to main content

CVE-2025-24893 — Vulnerability in xwiki-platform-se…ch-solr-ui

CRITICAL
Actively Exploited

XWiki Platform allows remote code execution as guest via SolrSearchMacros request

Published February 20, 2025Updated October 30, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected org.xwiki.platform:xwiki-platform-search-solr-ui version?

Paste your pom.xml to check it for CVE-2025-24893 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Impact

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.

Patches

This vulnerability has been patched in XWiki 15.10.11, 16.4.1 and 16.5.0RC1.

Workarounds

This line in Main.SolrSearchMacros can be edited to match the rawResponse macro defined here with a content type of application/xml, instead of simply outputting the content of the feed.

References

Attribution

This vulnerability has been reported by John Kwak for Trend Micro's Zero Day Initiative.

Advisory Timeline

  • First published February 20, 2025 (644 days ago).
  • Last revised October 30, 2025 — 252 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 251 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-search-solr-ui to 16.4.1 or later
<!-- Update pom.xml dependency version to 16.4.1 for org.xwiki.platform:xwiki-platform-search-solr-ui -->
Maven
Update org.xwiki.platform:xwiki-platform-search-solr-ui to 15.10.11 or later
<!-- Update pom.xml dependency version to 15.10.11 for org.xwiki.platform:xwiki-platform-search-solr-ui -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.xwiki.platform:xwiki-platform-search-solr-ui Maven · Affected: All versions16.4.1
org.xwiki.platform:xwiki-platform-search-solr-ui Maven · Affected: All versions15.10.11

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-24893?
XWiki Platform allows remote code execution as guest via SolrSearchMacros request. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-24893?
CVE-2025-24893 affects org.xwiki.platform:xwiki-platform-search-solr-ui. It has a 85.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24893 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
85.55%
EPSS percentile: 99.8

This places it in the top 5% of EPSS-scored vulnerabilities — 99.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: October 30, 2025

Remediation deadline: November 20, 2025

Also Known As

GHSA-rr6p-3pfg-562j

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml