XWiki Remote Macros Velocity Execution Vulnerability Leading to Remote Code Execution

Vulnerability

A remote code execution vulnerability exists in XWiki Remote Macros versions through 1.27.0. The issue arises because the macro executes Velocity scripts from details pages without proper permission checks. This flaw can be exploited by users without programming rights.

Impact

Exploitation allows for remote code execution on the server where XWiki is hosted.

Reproduction

To reproduce this vulnerability, a user without programming rights can create a new page and insert a details macro with an asynchronous macro call that includes Groovy code. After saving the page, an admin can add the details summary macro to another page, ensuring to include the correct CQL parameter to reference the page containing the injected code.

Remediation

Users can update to XWiki Remote Macros version 1.27.1 or later, where this vulnerability has been patched.

Added: Dec 5, 2025, 5:29 PM
Updated: Dec 5, 2025, 5:29 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
10.0
exploitability
6.8
remediation
7.7
relevance
1.3
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.