External risk intelligence

XWiki Pro Macros Remote Code Execution Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2025-55727

XWiki is a web-based collaborative platform frequently deployed as an internet-facing or intranet-facing web application. Since the vulnerable component relates to page editing and macro rendering within a web interface, it is commonly accessible to users via a browser in standard deployment patterns.

Code Injection

Xwiki Pro Macros

1.0 to before 1.26.5

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

This advisory addresses a critical vulnerability in XWiki Remote Macros, specifically impacting how the 'column' macro processes a 'width' parameter. The flaw allows for remote code execution, meaning an attacker could potentially run unauthorized commands on the affected system. The main concern is confirming relevance and exposure to this specific macro functionality.

  • Unescaped parameter enables code execution.
  • Affects collaborative content editing platforms.
  • Confirm if your wiki uses this specific macro.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this vulnerability by crafting a malicious input within a wiki page that uses the column macro. This input would leverage the unescaped "width" parameter to inject XWiki syntax, leading to the execution of arbitrary code. The impact could range from executing Velocity code as the wiki administrator to full remote code execution, depending on the privileges of the user who installed the macro.

  • No authentication required to access.
  • Injecting malicious syntax into the width parameter.
  • Remote code execution or admin-level code execution.

Live Threat

Current exploitation, exposure, and threat context

When XWiki Remote Macros are used with a missing width parameter escaping in the column macro, it could allow for remote code execution. This could occur for any user who can edit pages or access the CKEditor converter. The vulnerability enables the injection of XWiki syntax, potentially leading to the execution of Velocity code with wiki administrator privileges.

  • Affected: Wiki pages and administrator privileges.
  • Exposure: Malicious code injection via macro parameters.
  • Consequence: Potential for unauthorized code execution.

Operational Fix

Recommended remediation, mitigation, and detection steps

The XWiki Remote Macros vulnerability likely falls under the responsibility of the XWiki administrators or the team managing the XWiki platform, as it impacts page editing and macro functionality. The first practical step is to identify all XWiki instances, determine their accessibility and criticality, and confirm the specific version of the pro_macros component in use. Once ownership is confirmed, a risk-based remediation plan can be developed, which may involve vendor coordination if the pro_macros component is provided by a third party.

  • Identify XWiki instances and accountable owners.
  • Verify installed pro_macros component versions.
  • Plan remediation based on confirmed exposure.

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 XWiki Remote Macros?

XWiki Remote Macros is an extension for the XWiki platform that provides specific rendering tools to simplify content migration, particularly when moving data from Confluence. It adds functional components like the 'column' macro, which users can insert into wiki pages to control layout and formatting.

How does CVE-2025-55727 lead to code execution?

This vulnerability involves improper neutralization of input, classified as CWE-94 and CWE-95. Because the 'width' parameter in the column macro is not properly escaped, an attacker can inject malicious XWiki syntax. This manipulation allows the system to inadvertently process and execute unauthorized code, such as Velocity scripts, with the privileges of the wiki administrator.

Do I need to trigger the bug to be vulnerable?

Yes, an attacker must actively inject malicious syntax into the 'width' parameter of the column macro. The vulnerability is not triggered by simply viewing a page; it requires a user to have the ability to edit a wiki page or access the CKEditor converter to submit the crafted input.

Is my XWiki instance at risk?

Halo Surface Signal indicates that XWiki is typically deployed as a web application accessible via browsers, often making it internet-facing or widely available on intranets. If your instance runs a vulnerable version of the pro_macros component, the collaborative nature of the platform means the feature is likely reachable by users, increasing the relevance of this flaw.

When should I update my software?

You should prioritize verifying your version of the pro_macros component immediately. If you are running any version from 1.0 up to, but not including, 1.26.5, you are affected. Contact your system administrators to inventory your XWiki installations and apply the patch provided in version 1.26.5 to remediate the unescaped parameter flaw.

References