CVE-2025-55728: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwikisas xwiki-pro-macros
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 classes parameter in the panel 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 contains a patch for the issue.
AI Analysis
Technical Summary
CVE-2025-55728 is a critical remote code execution (RCE) vulnerability affecting the xwiki-pro-macros component of the XWiki platform, specifically versions from 1.0 up to but not including 1.26.5. The vulnerability arises due to improper neutralization of directives in dynamically evaluated code, classified under CWE-95 (Eval Injection). The root cause is the lack of proper escaping of the 'classes' parameter in the 'panel' macro. This parameter is directly used in XWiki syntax without sanitization, enabling an attacker with edit permissions on any page to inject malicious XWiki syntax. This injection leads to arbitrary 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 impact on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no known exploits are currently reported in the wild, the ease of exploitation and critical impact make this a high-priority issue. The vendor has addressed the vulnerability in version 1.26.5 by implementing proper escaping of the 'classes' parameter to prevent syntax injection. Organizations running vulnerable versions of xwiki-pro-macros should upgrade immediately to mitigate this risk.
Potential Impact
For European organizations using XWiki with the vulnerable xwiki-pro-macros versions, this vulnerability poses a severe risk. Successful exploitation allows attackers to execute arbitrary code on the server, potentially leading to full system compromise. This can result in data breaches, unauthorized data manipulation, service disruption, and lateral movement within the network. Given XWiki's use in collaborative environments, sensitive corporate or governmental information could be exposed or altered. The lack of authentication requirement means that any user with edit rights, which may be broadly granted in some organizations, can exploit this flaw. This increases the attack surface significantly. Additionally, the vulnerability's ability to compromise availability could disrupt critical business processes relying on XWiki for documentation or knowledge management. The critical severity and network exploitable nature make this a high-impact threat for European enterprises, especially those in regulated sectors like finance, healthcare, and government, where data integrity and confidentiality are paramount.
Mitigation Recommendations
1. Immediate upgrade of xwiki-pro-macros to version 1.26.5 or later, where the vulnerability is patched. 2. Review and restrict edit permissions on XWiki pages to trusted users only, minimizing the number of accounts that can exploit this vulnerability. 3. Implement strict input validation and sanitization policies for any user-supplied parameters in XWiki macros, beyond the vendor patch, to reduce injection risks. 4. Monitor XWiki server logs for unusual syntax or code execution attempts, focusing on the usage of the 'classes' parameter in the panel macro. 5. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious XWiki syntax injection patterns. 6. Conduct regular security audits and penetration tests on XWiki deployments to identify any residual or related vulnerabilities. 7. Isolate XWiki servers in segmented network zones with limited access to critical backend systems to contain potential compromises.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Italy, Spain, Belgium
CVE-2025-55728: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwikisas 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 classes parameter in the panel 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 contains a patch for the issue.
AI-Powered Analysis
Technical Analysis
CVE-2025-55728 is a critical remote code execution (RCE) vulnerability affecting the xwiki-pro-macros component of the XWiki platform, specifically versions from 1.0 up to but not including 1.26.5. The vulnerability arises due to improper neutralization of directives in dynamically evaluated code, classified under CWE-95 (Eval Injection). The root cause is the lack of proper escaping of the 'classes' parameter in the 'panel' macro. This parameter is directly used in XWiki syntax without sanitization, enabling an attacker with edit permissions on any page to inject malicious XWiki syntax. This injection leads to arbitrary 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 impact on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no known exploits are currently reported in the wild, the ease of exploitation and critical impact make this a high-priority issue. The vendor has addressed the vulnerability in version 1.26.5 by implementing proper escaping of the 'classes' parameter to prevent syntax injection. Organizations running vulnerable versions of xwiki-pro-macros should upgrade immediately to mitigate this risk.
Potential Impact
For European organizations using XWiki with the vulnerable xwiki-pro-macros versions, this vulnerability poses a severe risk. Successful exploitation allows attackers to execute arbitrary code on the server, potentially leading to full system compromise. This can result in data breaches, unauthorized data manipulation, service disruption, and lateral movement within the network. Given XWiki's use in collaborative environments, sensitive corporate or governmental information could be exposed or altered. The lack of authentication requirement means that any user with edit rights, which may be broadly granted in some organizations, can exploit this flaw. This increases the attack surface significantly. Additionally, the vulnerability's ability to compromise availability could disrupt critical business processes relying on XWiki for documentation or knowledge management. The critical severity and network exploitable nature make this a high-impact threat for European enterprises, especially those in regulated sectors like finance, healthcare, and government, where data integrity and confidentiality are paramount.
Mitigation Recommendations
1. Immediate upgrade of xwiki-pro-macros to version 1.26.5 or later, where the vulnerability is patched. 2. Review and restrict edit permissions on XWiki pages to trusted users only, minimizing the number of accounts that can exploit this vulnerability. 3. Implement strict input validation and sanitization policies for any user-supplied parameters in XWiki macros, beyond the vendor patch, to reduce injection risks. 4. Monitor XWiki server logs for unusual syntax or code execution attempts, focusing on the usage of the 'classes' parameter in the panel macro. 5. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious XWiki syntax injection patterns. 6. Conduct regular security audits and penetration tests on XWiki deployments to identify any residual or related vulnerabilities. 7. Isolate XWiki servers in segmented network zones with limited access to critical backend systems to contain potential compromises.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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: 68c076b59256f7c60d152ee2
Added to database: 9/9/2025, 6:49:25 PM
Last enriched: 9/17/2025, 12:49:12 AM
Last updated: 10/29/2025, 3:08:21 PM
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-61156: n/a
UnknownCVE-2024-58269: CWE-532: Insertion of Sensitive Information into Log File in SUSE rancher
MediumCVE-2023-32199: CWE-281: Improper Preservation of Permissions in SUSE rancher
MediumCVE-2025-10932: CWE-400 Uncontrolled Resource Consumption in Progress MOVEit Transfer
HighCVE-2024-45162: n/a
CriticalActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.