Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-55730: CWE-116: Improper Encoding or Escaping of Output in xwikisas xwiki-pro-macros

0
Critical
VulnerabilityCVE-2025-55730cvecve-2025-55730cwe-116
Published: Tue Sep 09 2025 (09/09/2025, 18:53:53 UTC)
Source: CVE Database V5
Vendor/Project: xwikisas
Product: xwiki-pro-macros

Description

XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the title in the confluence paste code macro allows remote code execution for any user who can edit any page. The classes parameter is used without escaping in XWiki syntax, thus allowing XWiki syntax injection which enables remote code execution. Version 1.26.5 has a fix for the issue.

AI-Powered Analysis

AILast updated: 09/17/2025, 01:05:52 UTC

Technical Analysis

CVE-2025-55730 is a critical remote code execution vulnerability affecting the xwiki-pro-macros component of the XWiki platform, specifically the Remote Macros used for migrating content from Confluence. The vulnerability exists in versions 1.0 up to but not including 1.26.5. The root cause is improper encoding or escaping of output (CWE-116) in the handling of the 'title' parameter within the confluence paste code macro. This parameter is not properly escaped, allowing an attacker who has edit permissions on any page to inject malicious XWiki syntax via the 'classes' parameter. This syntax injection leads to remote code execution on the server hosting the XWiki instance. The vulnerability requires no authentication (PR:N) and no user interaction (UI:N), making it trivially exploitable remotely over the network (AV:N). The CVSS v3.1 base score is 10.0, indicating maximum severity with complete compromise of confidentiality, integrity, and availability (C:H/I:H/A:H). The vulnerability was fixed in version 1.26.5 by properly escaping the 'title' parameter to prevent syntax injection. No known exploits are currently reported in the wild, but the ease of exploitation and critical impact make this a high-risk vulnerability for any organization running vulnerable versions of xwiki-pro-macros. Since XWiki is often used for collaborative documentation and knowledge management, exploitation could lead to full system compromise, data theft, or destruction.

Potential Impact

European organizations using XWiki with the vulnerable xwiki-pro-macros versions face severe risks. Given the criticality of the vulnerability, attackers could gain full remote code execution capabilities without authentication, allowing them to execute arbitrary commands on the server. This could lead to unauthorized access to sensitive corporate data, intellectual property theft, disruption of business operations, and potential lateral movement within the network. Organizations in sectors such as finance, government, healthcare, and critical infrastructure, which often rely on collaborative platforms like XWiki, are particularly at risk. The ability to compromise confidentiality, integrity, and availability simultaneously could result in regulatory non-compliance (e.g., GDPR violations), financial losses, reputational damage, and operational downtime. Furthermore, since the vulnerability affects content migration macros, organizations actively migrating or integrating Confluence content are at heightened risk. The lack of known exploits in the wild does not diminish the urgency, as the vulnerability's characteristics make it an attractive target for threat actors.

Mitigation Recommendations

1. Immediate upgrade to xwiki-pro-macros version 1.26.5 or later, where the vulnerability is patched. 2. If upgrading is not immediately feasible, implement strict access controls to restrict page editing permissions only to trusted users to reduce the attack surface. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious XWiki syntax injection patterns targeting the 'classes' parameter. 4. Conduct thorough code reviews and input validation audits for any custom macros or extensions that handle user input to ensure proper escaping and encoding. 5. Monitor logs for unusual editing activity or syntax injection attempts, and establish alerting mechanisms for anomalous behavior. 6. Isolate XWiki instances in segmented network zones to limit potential lateral movement in case of compromise. 7. Educate administrators and users about the risks of editing pages with untrusted content and enforce security best practices for collaborative platforms. 8. Regularly back up XWiki data and configurations to enable rapid recovery in case of exploitation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2025-08-14T22:31:17.682Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68c0782035242cb3d0f995b0

Added to database: 9/9/2025, 6:55:28 PM

Last enriched: 9/17/2025, 1:05:52 AM

Last updated: 10/29/2025, 11:31:28 PM

Views: 45

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats