Skip to content

xwiki-platform

Remote code execution as guest via SolrSearchMacros request in xwiki

CVE-2025-24893Published 20 Feb 2025, 19:19 UTC

Real-world risk

10.0/ 10Critical

Act now: it is being exploited.

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
xwiki-platformCommon>= 5.3-milestone-2, < 15.10.11; >= 16.0.0-rc-1, < 16.4.115.10.11, 16.4.1

What to do

Update to a fixed version: 15.10.11, 16.4.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T5: Exploited in the wild (× 1.00)

On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited

  • On CISA’s Known Exploited Vulnerabilities list
  • Exploit-DB entry (link)
  • Exploit-DB entry (link)
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Metasploit module (link)
  • Nuclei scanner template (link)
  • CISA SSVC: exploitation active

EPSS 99.9% chance of exploitation in 30 days (percentile 100), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T5: Exploited in the wild1.000
  3. 10 × impact 1 × prerequisites 1 × threat 110.000
  4. Rounded to one decimal between 0.1 and 1010.0

How the score works

Exploitation and evidence timeline

  1. 20 Feb 2025 Published
  2. 30 Oct 2025 Added to CISA KEV
  3. 3 Dec 2026 Exploit-DB entry first seen
  4. 3 Dec 2026 Exploit-DB entry first seen
  5. 3 Dec 2026 Public proof of concept on GitHub first seen
  6. 3 Dec 2026 Public proof of concept on GitHub first seen
  7. 3 Dec 2026 Public proof of concept on GitHub first seen
  8. 3 Dec 2026 Public proof of concept on GitHub first seen
  9. 3 Dec 2026 Public proof of concept on GitHub first seen
  10. 3 Dec 2026 Public proof of concept on GitHub first seen
  11. 3 Dec 2026 Public proof of concept on GitHub first seen
  12. 3 Dec 2026 Public proof of concept on GitHub first seen
  13. 3 Dec 2026 Public proof of concept on GitHub first seen
  14. 3 Dec 2026 Public proof of concept on GitHub first seen
  15. 3 Dec 2026 Public proof of concept on GitHub first seen
  16. 3 Dec 2026 Public proof of concept on GitHub first seen
  17. 3 Dec 2026 Public proof of concept on GitHub first seen
  18. 3 Dec 2026 Public proof of concept on GitHub first seen
  19. 3 Dec 2026 Metasploit module first seen
  20. 3 Dec 2026 Nuclei scanner template first seen
  21. 3 Dec 2026 CISA SSVC: exploitation active first seen
  22. 3 Dec 2026 Risk 10.0 (cvss fallback)

Weakness

CWE-95

References

Get alerts for xwiki-platform

Free email or text alerts when a vulnerability in xwiki-platform reaches risk 8 or higher. Nothing else.