External risk intelligence

XWiki Remote Macros Code Execution Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 10.0)

CVE-2025-55729

XWiki is a web-based collaboration platform commonly deployed as a public-facing application or internal enterprise wiki. Because it is a web application accessible via browser, it is frequently exposed to network traffic. The vulnerability exists in a rendering macro that processes content, making it a common target within the typical deployment pattern of such web-based services.

Remote Code Execution

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A critical vulnerability has been identified in XWiki Remote Macros, specifically affecting how content from Confluence is rendered. This issue, if exploited, could allow for remote code execution, meaning an attacker could potentially run unauthorized commands on affected systems. The primary concern is to confirm if this specific macro functionality is in use within your environment.

  • Allows code execution via content rendering.
  • Critical issue: potential for unauthorized system control.
  • Confirm usage; determine relevance and exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this by tricking any user who can edit a page into inserting specially crafted input into the ConfluenceLayoutSection macro. This input, when rendered, allows an attacker to execute arbitrary code on the server.

  • No authentication or user interaction needed.
  • Malicious content in a wiki page.
  • Remote code execution on the server.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated attacker to execute arbitrary code on systems running vulnerable versions of XWiki Remote Macros when supported by the advisory. This could affect the integrity and availability of the XWiki instance, as well as any data it manages.

  • System code execution is at risk.
  • Unescaped input could lead to injection.
  • Compromised service and data integrity.

Operational Fix

Recommended remediation, mitigation, and detection steps

Given that XWiki is often deployed as a web-based application, the primary responsibility for addressing this vulnerability likely falls to the platform or application owners, with support from network and security teams. The initial practical step is to identify all instances of the affected XWiki rendering macros, confirm their exposure to the network, and determine their business criticality. Once these factors are understood, an accountable owner should be identified to plan and execute remediation based on the assessed risk.

  • Platform or application owners should lead remediation.
  • Verify affected macro instances and exposure.
  • Plan and coordinate risk-based remediation.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the XWiki Remote Macros component?

XWiki Remote Macros is an extension for the XWiki platform designed to simplify content migration from Confluence. It provides specific rendering macros that interpret and display Confluence-style content within XWiki pages, allowing users to maintain existing formatting and layouts during transitions between these two collaboration platforms.

What does CWE-116 mean for CVE-2025-55729?

CWE-116 refers to improper encoding or escaping of output. In this specific vulnerability, the ConfluenceLayoutSection macro fails to properly sanitize input before processing it. Because the software treats this unescaped content as executable instructions rather than plain text, it inadvertently allows an attacker to inject and run unauthorized commands on the server.

How is this XWiki vulnerability triggered?

An attacker exploits this by including specially crafted input within the ConfluenceLayoutSection macro on a page. The vulnerability is triggered when the system renders this page. Importantly, the bug does not require an attacker to have administrative privileges; it only requires the ability to edit a page where the vulnerable macro is processed.

Is my XWiki instance at risk?

According to Halo Surface Signal, XWiki is commonly deployed as a web-based collaboration platform. Because these instances are typically accessible via web browsers and often face the network, they are considered frequently exposed. If your instance is reachable over the network and utilizes the affected macro functionality, it should be prioritized for review.

What are the first steps to address this?

Start by identifying all instances of XWiki running the affected versions of the Remote Macros extension. Once identified, evaluate whether those specific pages utilize the ConfluenceLayoutSection macro. Coordinate with your application owners to plan an update to version 1.26.5 or later to apply the necessary security fixes provided by the vendor.

References