The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-24893

CVE-2025-24893: XWiki Platform RCE Vulnerability

CVE-2025-24893 is a remote code execution vulnerability in XWiki Platform that allows unauthenticated attackers to execute arbitrary code via SolrSearch. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2025-24893 Overview

CVE-2025-24893 is a critical Remote Code Execution (RCE) vulnerability in XWiki Platform, a generic wiki platform offering runtime services for applications built on top of it. This vulnerability allows any unauthenticated guest user to perform arbitrary remote code execution through a crafted request to the SolrSearch endpoint. The flaw enables attackers to inject and execute Groovy code via the search text parameter, completely compromising the confidentiality, integrity, and availability of the entire XWiki installation.

Critical Impact

Unauthenticated attackers can achieve full system compromise through arbitrary code execution, affecting all data and services hosted on the XWiki platform. This vulnerability is actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities catalog.

Affected Products

  • XWiki Platform versions 5.3 through 15.10.10
  • XWiki Platform versions 16.0.0 through 16.4.0
  • XWiki Platform version 16.5.0 (prior to RC1)

Discovery Timeline

  • February 20, 2025 - CVE-2025-24893 published to NVD
  • October 31, 2025 - Last updated in NVD database

Technical Details for CVE-2025-24893

Vulnerability Analysis

This vulnerability exists in the Main.SolrSearchMacros component of XWiki Platform, specifically in the RSS feed generation functionality. The SolrSearch endpoint accepts user-controlled input through the text parameter without proper sanitization before rendering. When a user requests an RSS feed (media=rss), the search text is processed through XWiki's rendering engine, which allows execution of wiki syntax macros including the {{groovy}} macro.

The attack requires no authentication and can be triggered with a simple HTTP GET request. An attacker can inject XWiki wiki syntax containing async and Groovy macros, which are then executed server-side with the privileges of the XWiki application. This represents a classic Code Injection vulnerability where user input is directly interpreted as executable code.

Root Cause

The root cause lies in improper input validation and the unsafe handling of user-supplied content in the SolrSearchMacros.xml file at line 955. The RSS feed output mechanism fails to properly escape or sanitize the search text parameter before processing it through the wiki rendering pipeline. This allows wiki macro syntax (specifically {{async}} and {{groovy}} macros) embedded in the search query to be interpreted and executed rather than treated as literal text.

The vulnerable code path directly outputs content without setting appropriate content type restrictions, allowing arbitrary Velocity and Groovy code execution. The fix introduces a rawResponse macro that properly handles HTTP responses with a content type of application/xml, preventing macro interpretation.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker simply sends a crafted HTTP GET request to the SolrSearch endpoint with URL-encoded Groovy code embedded in the text parameter. The payload uses nested wiki macros: the {{async}} macro ensures synchronous execution, and the {{groovy}} macro contains the arbitrary code to execute.

The exploitation URL pattern follows this structure:

/xwiki/bin/get/Main/SolrSearch?media=rss&text=}}}{{async async=false}}{{groovy}}[PAYLOAD]{{/groovy}}{{/async}}

The following patch from the XWiki security update shows how the vulnerable direct response handling was replaced with a secure rawResponse macro:

text
   #set ($text = "$!request.text")
   #set ($stripHTMLEnvelope = $request.stripHTMLEnvelope == 'true')
   #set ($output = "#ckeditor_convert($text $toHTML $fromHTML $stripHTMLEnvelope)")
-  #set ($characterEncoding = 'utf-8')
-  ## Make sure the Character Encoding response header matches the character encoding used to write the response and
-  ## compute its length. See CKEDITOR-162: Cannot convert to source code
-  #set ($discard = $response.setCharacterEncoding($characterEncoding))
-  ## We write the output directly to the response to avoid the execution of the Rendering Transformations. Another
-  ## option would be to specify which Rendering Transformations to execute in the query string (XWIKI-13167).
-  ## See CKEDITOR-51: Icon transformations are saved by CKEditor
-  #set ($discard = $response.writer.print($output))
-  ## The content length is measured in bytes and one character can use more than one byte.
-  #set ($discard = $response.setContentLength($output.getBytes($characterEncoding).size()))
-  ## Make sure the entire content is send back to the client.
-  #set ($discard = $response.flushBuffer())
-  ## Make sure XWiki doesn't write any more content to the response.
-  #set ($discard = $xcontext.setFinished(true))
+  #rawResponse($output)
 #else
   The service used by the CKEditor source plugin to convert between HTML and wiki syntax.
 #end

Source: GitHub Commit Update

Detection Methods for CVE-2025-24893

Indicators of Compromise

  • HTTP requests to /xwiki/bin/get/Main/SolrSearch containing URL-encoded wiki macro syntax such as {{async}}, {{groovy}}, or {{velocity}}
  • Web server logs showing requests with media=rss parameter combined with suspicious text parameters containing encoded curly braces (%7B%7B)
  • Unexpected process spawning or network connections originating from the XWiki application server
  • Unauthorized modifications to wiki pages or system configurations
  • Evidence of data exfiltration or reverse shell connections from the XWiki host

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing wiki macro patterns ({{groovy}}, {{async}}, {{velocity}}) in URL parameters
  • Monitor HTTP access logs for suspicious SolrSearch requests, particularly those with media=rss and encoded special characters in the text parameter
  • Deploy network intrusion detection signatures to identify exploitation attempts targeting the SolrSearch endpoint
  • Enable verbose logging on XWiki application to capture and alert on Groovy script execution events

Monitoring Recommendations

  • Establish baseline network behavior for XWiki servers and alert on anomalous outbound connections
  • Monitor for unauthorized file system changes within the XWiki installation directory
  • Implement real-time alerting for any unauthenticated requests to RSS feed endpoints with macro-like syntax
  • Review XWiki audit logs regularly for evidence of unauthorized code execution or privilege escalation

How to Mitigate CVE-2025-24893

Immediate Actions Required

  • Upgrade XWiki Platform immediately to version 15.10.11, 16.4.1, or 16.5.0RC1 or later
  • If immediate upgrade is not possible, apply the manual workaround by editing the SolrSearchMacros.xml file
  • Temporarily restrict public access to the XWiki instance if it contains sensitive data
  • Review server logs for evidence of prior exploitation attempts
  • Scan systems for indicators of compromise before and after remediation

Patch Information

XWiki has released patched versions that address this vulnerability. The fix introduces a generic Velocity macro called rawResponse that properly sets HTTP response content types to prevent macro interpretation. Affected users should upgrade to one of the following versions:

  • XWiki 15.10.11 - For users on the 15.x LTS branch
  • XWiki 16.4.1 - For users on the 16.4.x branch
  • XWiki 16.5.0RC1 - For users following the latest development branch

The security patch is available in the GitHub Commit Update. Additional details can be found in the GitHub Security Advisory GHSA-rr6p-3pfg-562j and JIRA Issue XWIKI-22149.

Workarounds

  • Edit Main.SolrSearchMacros in SolrSearchMacros.xml at line 955 to use the rawResponse macro pattern from macros.vm#L2824 with a content type of application/xml
  • Implement WAF rules to block requests containing wiki macro syntax in the text parameter of SolrSearch requests
  • Restrict access to the /xwiki/bin/get/Main/SolrSearch endpoint to authenticated users only via web server configuration
  • Deploy network-level controls to limit inbound access to the XWiki application from untrusted networks
bash
# Apache configuration example to restrict SolrSearch access
<Location "/xwiki/bin/get/Main/SolrSearch">
    Order deny,allow
    Deny from all
    # Allow only from trusted internal networks
    Allow from 10.0.0.0/8
    Allow from 192.168.0.0/16
</Location>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechXwiki

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.24%

  • Known ExploitedYes
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-95

  • CWE-94
  • Technical References
  • GitHub SolrSearchMacros Resource

  • GitHub Web Templates Macro

  • CISA Known Exploited CVE-2025-24893
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-rr6p-3pfg-562j

  • JIRA Issue XWIKI-22149
  • Related CVEs
  • CVE-2024-31982: XWiki Platform RCE Vulnerability

  • CVE-2025-55730: XWiki Remote Macros RCE Vulnerability

  • CVE-2025-55729: XWiki Remote Macros RCE Vulnerability

  • CVE-2023-37462: XWiki Platform RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English