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

CVE-2025-55729: XWiki Remote Macros RCE Vulnerability

CVE-2025-55729 is a remote code execution flaw in XWiki Remote Macros affecting versions 1.0 to 1.26.4. Missing escaping in the ConfluenceLayoutSection macro enables syntax injection attacks. This article covers technical details, impact, and patches.

Published: March 24, 2026

CVE-2025-55729 Overview

CVE-2025-55729 is a critical remote code execution vulnerability affecting XWiki Remote Macros, a component that provides XWiki rendering macros useful for migrating content from Confluence. The vulnerability exists in the ConfluenceLayoutSection macro where the ac:type parameter is used without proper escaping, allowing attackers to inject arbitrary XWiki syntax and achieve remote code execution.

Any user with page editing privileges can exploit this vulnerability to execute arbitrary code on the server, potentially leading to complete system compromise. The flaw stems from improper output encoding (CWE-116) where user-controlled input flows directly into XWiki syntax without sanitization.

Critical Impact

This vulnerability enables unauthenticated remote code execution through XWiki syntax injection, allowing attackers to fully compromise affected XWiki installations with no user interaction required.

Affected Products

  • XWiki Remote Macros version 1.0 through versions prior to 1.26.5
  • XWiki Pro Macros Confluence Bridges component
  • XWiki installations using the ConfluenceLayoutSection macro

Discovery Timeline

  • 2025-09-09 - CVE-2025-55729 published to NVD
  • 2025-09-11 - Last updated in NVD database

Technical Details for CVE-2025-55729

Vulnerability Analysis

This vulnerability represents a classic case of improper output encoding leading to code injection. The ConfluenceLayoutSection macro, designed to help migrate content from Confluence to XWiki, accepts a parameter called ac:type that specifies the CSS layout class for section rendering. This parameter is directly interpolated into XWiki's Velocity template syntax without any escaping or sanitization.

XWiki uses a wiki-based syntax that supports macro execution and scripting capabilities. When user-controlled input is embedded directly into this syntax without proper encoding, an attacker can break out of the intended context and inject arbitrary XWiki macros, including those that execute server-side code.

The vulnerability requires only page editing privileges to exploit, making it particularly dangerous in multi-user XWiki environments where untrusted users may have content editing capabilities.

Root Cause

The root cause is the direct use of the ac:type parameter value in XWiki syntax without applying the $services.rendering.escape() function. In the vulnerable code path, the cssLayoutClass variable is set directly from $xcontext.macro.params.get('ac:type') and then concatenated into a class attribute within XWiki's extended syntax notation.

XWiki's syntax interpreter processes special characters and macro invocations within the content, meaning that malicious input containing XWiki syntax elements (such as {{/velocity}} or Groovy script blocks) would be interpreted and executed rather than treated as literal text.

Attack Vector

The attack vector is network-based and requires no authentication in configurations where anonymous users can edit pages, or low-privileged access in authenticated environments. An attacker can:

  1. Navigate to any editable XWiki page
  2. Insert the ConfluenceLayoutSection macro with a crafted ac:type parameter
  3. Include XWiki syntax injection payloads that escape the intended CSS class context
  4. Execute arbitrary Groovy or Velocity code on the server

The following patch demonstrates the fix applied in version 1.26.5:

velocity
       <code>{{velocity output="false"}}
 #macro (executeMacro)
   #set ($discard = $xwiki.ssx.use('Confluence.Macros.ConfluenceLayoutSection'))
-  #set ($cssLayoutClass = $xcontext.macro.params.get('ac:type'))
+  #set ($cssLayoutClass = $services.rendering.escape("$!xcontext.macro.params.get('ac:type')", 'xwiki/2.1'))
   (% class="macro-layout-section $cssLayoutClass" %)(((\n     ## Since 11.5 the content of the macro can be edited in WYSIWYG editor.
     #if ($services.rendering.getMacroDescriptor($services.rendering.resolveMacroId('wikimacrocontent')))

Source: GitHub Commit Changes

The fix wraps the parameter value with $services.rendering.escape(), ensuring that any XWiki syntax characters are properly escaped before being rendered.

Detection Methods for CVE-2025-55729

Indicators of Compromise

  • Unusual page edits containing ConfluenceLayoutSection macro with suspicious ac:type values
  • XWiki log entries showing execution of unexpected Groovy or Velocity scripts
  • Pages containing escape sequences like }}, {{groovy}}, or {{velocity}} in macro parameters
  • Unexpected process spawning or network connections originating from the XWiki application server

Detection Strategies

  • Monitor XWiki audit logs for page modifications involving the ConfluenceLayoutSection macro
  • Implement content scanning rules to detect XWiki syntax patterns within macro parameters
  • Deploy web application firewall (WAF) rules to identify and block requests containing wiki syntax injection attempts
  • Review recent page edit history for anomalous patterns or edits from unfamiliar accounts

Monitoring Recommendations

  • Enable detailed audit logging for all page edit operations in XWiki
  • Configure alerting on execution of Groovy or Velocity scripts outside of trusted macro contexts
  • Monitor system processes and network connections originating from the XWiki Java process
  • Implement file integrity monitoring on the XWiki installation directory

How to Mitigate CVE-2025-55729

Immediate Actions Required

  • Upgrade XWiki Remote Macros to version 1.26.5 or later immediately
  • Review XWiki audit logs for evidence of exploitation attempts
  • Temporarily disable the ConfluenceLayoutSection macro if immediate patching is not possible
  • Restrict page editing privileges to trusted users until the patch is applied

Patch Information

The vulnerability has been fixed in XWiki Remote Macros version 1.26.5. The patch applies proper output encoding using $services.rendering.escape() to the ac:type parameter before it is used in XWiki syntax. Organizations should upgrade to this version or later to remediate the vulnerability.

For additional details, refer to:

  • GitHub Security Advisory GHSA-22xj-jpjg-gpgw
  • XWiki Issue Tracker XWIKI-20449

Workarounds

  • Disable or remove the ConfluenceLayoutSection macro from XWiki if not actively needed
  • Implement strict access controls limiting page editing to trusted administrators only
  • Deploy a web application firewall with rules to detect and block XWiki syntax injection patterns
  • Consider isolating the XWiki instance in a restricted network segment until patching is complete
bash
# Verify current xwiki-pro-macros version
grep -r "xwiki-pro-macros" /path/to/xwiki/WEB-INF/lib/*.jar

# Check XWiki logs for potential exploitation attempts
grep -i "ConfluenceLayoutSection" /path/to/xwiki/logs/*.log | grep -E "(groovy|velocity|\}\})"

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 Source Code File

  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-22xj-jpjg-gpgw

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

  • CVE-2024-31982: XWiki Platform RCE Vulnerability

  • CVE-2025-55730: 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