MailEnable Reflected Cross-Site Scripting Vulnerability in WindowContext Parameter of MAI/compose.aspx

Vulnerability

A reflected cross-site scripting vulnerability has been identified in MailEnable versions prior to 10.54. The issue resides in the WindowContext parameter of the compose.aspx page within the webmail interface. The vulnerability arises because the WindowContext value is not properly sanitized when processed via a GET request. This allows an attacker to inject arbitrary JavaScript by breaking out of the existing script context and exploiting the JavaScript variable window.location. Exploitation involves crafting a payload that disrupts a specific JavaScript function, inserts malicious script, and comments out the remaining code. When the victim clicks a malicious link or sends an email, the injected script executes in their browser. This could lead to redirection to harmful sites, theft of non-HttpOnly cookies, injection of arbitrary HTML or CSS, and actions performed as the authenticated user.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where injected scripts are executed in the context of the user's browser.

Added: Dec 10, 2025, 12:58 AM
Updated: Dec 10, 2025, 12:58 AM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
2.3
exploitability
6.5
remediation
7.7
relevance
1.3
threat
0.0
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.