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-55730

CVE-2025-55730: XWiki Remote Macros RCE Vulnerability

CVE-2025-55730 is a remote code execution flaw in XWiki Remote Macros allowing attackers to execute arbitrary code through syntax injection. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-55730 Overview

CVE-2025-55730 is a critical remote code execution vulnerability affecting XWiki Remote Macros, a component that provides rendering macros useful when migrating content from Confluence. The vulnerability stems from missing input escaping in the Confluence Paste Code macro, allowing attackers to inject malicious XWiki syntax and achieve arbitrary code execution on the affected system.

Starting in version 1.0 and prior to version 1.26.5, the title parameter in the confluence paste code macro is rendered without proper sanitization. The classes parameter is used without escaping in XWiki syntax, enabling syntax injection attacks. Any user with edit permissions on any page can exploit this vulnerability to execute arbitrary code on the server.

Critical Impact

This vulnerability allows unauthenticated remote code execution via XWiki syntax injection, potentially leading to complete system compromise, data exfiltration, and lateral movement within the network.

Affected Products

  • XWiki Remote Macros versions 1.0 through 1.26.4
  • XWiki Pro Macros Confluence Bridges component
  • XWiki installations utilizing the Confluence Paste Code macro functionality

Discovery Timeline

  • September 9, 2025 - CVE-2025-55730 published to NVD
  • September 11, 2025 - Last updated in NVD database

Technical Details for CVE-2025-55730

Vulnerability Analysis

This vulnerability is classified under CWE-116 (Improper Encoding or Escaping of Output). The core issue resides in the ConfluencePasteCodeMacro.xml template file, where user-supplied input from the title parameter is directly embedded into the rendered output without proper escaping for XWiki syntax context.

When content is migrated from Confluence or when users interact with the paste code functionality, the macro processes the title field. Because this value is not sanitized, an attacker can craft a malicious payload containing XWiki syntax that will be interpreted and executed by the rendering engine. This transforms a seemingly benign content display feature into a powerful code execution vector.

The vulnerability is particularly dangerous because it requires only basic page editing privileges—a permission typically granted to authenticated users in most XWiki deployments. The scope change indicated in the security assessment means that exploitation can affect resources beyond the vulnerable component itself.

Root Cause

The root cause is improper output encoding in the Velocity template handling the Confluence Paste Code macro. The $title variable was directly interpolated into the XWiki syntax output without being passed through the $services.rendering.escape() function. This allowed raw XWiki syntax characters and commands to be injected through the title field, which are then processed by the XWiki rendering engine with full execution privileges.

Attack Vector

The attack can be executed remotely over the network without requiring authentication in some configurations. An attacker needs to:

  1. Identify an XWiki instance running a vulnerable version of XWiki Remote Macros
  2. Gain access to edit any page (or exploit a misconfigured instance allowing anonymous edits)
  3. Inject malicious XWiki syntax through the title parameter of the Confluence Paste Code macro
  4. Trigger the rendering of the page to execute the injected code

The following patch demonstrates the fix applied to address this vulnerability:

text
   (% class="paste-code#if($withTitle) paste-code-with-title#end" %)(((\n     #if("$!title" != '')\n       (% class="paste-code-title" %)(((\n-        $title\n+        $services.rendering.escape($title, 'xwiki/2.1')\n       )))\n     #end\n     {{code language="$services.rendering.escape("$!language", $xwiki.currentContentSyntaxId)"}}

Source: GitHub Commit

The fix wraps the $title variable with $services.rendering.escape($title, 'xwiki/2.1'), ensuring all XWiki syntax characters are properly escaped before being rendered.

Detection Methods for CVE-2025-55730

Indicators of Compromise

  • Unusual or obfuscated content in page titles or macro parameters containing XWiki syntax constructs like {{/html}}, {{groovy}}, or {{velocity}}
  • Unexpected Groovy or Velocity script execution in XWiki application logs
  • Creation of new admin users or privilege escalation events correlated with page edit activities
  • Web server logs showing requests to pages with suspiciously complex or encoded title parameters

Detection Strategies

  • Implement log monitoring for XWiki rendering errors or exceptions that may indicate injection attempts
  • Deploy web application firewall rules to detect XWiki syntax patterns in HTTP request parameters
  • Monitor for abnormal process spawning from the XWiki application server process
  • Review audit logs for unusual page creation or modification patterns targeting macro-enabled content

Monitoring Recommendations

  • Enable verbose logging for XWiki macro processing and review logs for injection patterns
  • Implement file integrity monitoring on the XWiki installation directory to detect unauthorized modifications
  • Configure alerting for new user creation or privilege changes in the XWiki administration interface
  • Monitor outbound network connections from the XWiki server for potential data exfiltration or reverse shell activity

How to Mitigate CVE-2025-55730

Immediate Actions Required

  • Upgrade XWiki Remote Macros to version 1.26.5 or later immediately
  • Review recent page edit history for suspicious macro usage or title modifications
  • Audit user accounts for any unauthorized privilege escalations
  • Consider temporarily disabling the Confluence Paste Code macro functionality until patching is complete

Patch Information

The vulnerability has been addressed in XWiki Remote Macros version 1.26.5. The fix ensures proper escaping of the title parameter using the $services.rendering.escape() function before rendering. The security patch is available in commit 049716df415aaf00938a91d618d382777820d2af.

For detailed information about the vulnerability and remediation, refer to the GitHub Security Advisory GHSA-5w8v-h22g-j2mp and the XWiki JIRA Issue XWIKI-20449.

Workarounds

  • Restrict page editing permissions to only trusted users until the patch can be applied
  • Implement input validation at the web server or reverse proxy level to block requests containing XWiki syntax characters in macro parameters
  • Disable or remove the Confluence Paste Code macro extension if Confluence migration functionality is not actively required
  • Deploy network segmentation to limit the blast radius if exploitation occurs
bash
# Check current XWiki Remote Macros version
grep -r "xwiki-pro-macros" /path/to/xwiki/WEB-INF/lib/ | head -5

# Verify the patched version is installed
ls -la /path/to/xwiki/WEB-INF/lib/ | grep "xwiki-pro-macros.*1.26.5"

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 Score10.0

  • EPSS Probability0.50%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-116
  • Technical References
  • GitHub Code Resource

  • GitHub Commit Overview

  • GitHub Security Advisory GHSA-5w8v-h22g-j2mp

  • XWiki JIRA Issue XWIKI-20449
  • Related CVEs
  • CVE-2025-24893: XWiki Platform RCE Vulnerability

  • CVE-2024-31982: XWiki Platform 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