Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend email with XSS payload in attachment filename
-
DeliveryEmail quarantined by spam filter
-
ExploitAdministrator views quarantine item in web interface
-
ExecutionUnsanitized filename renders in DOM
-
PersistJavaScript executes in admin session
-
ImpactSession cookie theft or account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the quarantine feature to be actively used with administrator review of quarantined emails via the web interface. Attacker must have ability to send emails to the target mailcow domain (standard SMTP access, not privileged). Sent emails must trigger mailcow's spam filtering to be placed in quarantine rather than delivered or rejected outright-achieved through moderate spam characteristics that don't meet reject threshold. Administrator must authenticate to mailcow web interface with privileges to access quarantine management (typically admin or domain admin role) and manually click on the specific quarantined message containing the malicious attachment name. No special mailcow configuration beyond default quarantine functionality is required. Attack is limited by user interaction requirement (UI:P in CVSS vector) and present attack requirements (AT:P), meaning success depends on administrator behavior patterns and organizational quarantine review workflows rather than technical barriers. |
| Impact | Real-world risk is HIGH for deployed mailcow instances with administrator quarantine review workflows. CVSS 4.0 score of 8.9 accurately reflects the severe impact: network-based attack vector (AV:N) with low attack complexity (AC:L) requiring present attack requirements (AT:P) and user interaction (UI:P) by an administrator. All confidentiality, integrity, and availability impacts rated HIGH for both vulnerable system and subsequent system scope (VC:H/VI:H/VA:H/SC:H/SI:H/SA:N), indicating potential for full administrative account takeover with downstream impact. However, exploitation requires: (1) attacker ability to send emails to the target domain, (2) email being quarantined rather than delivered, (3) administrator actively reviewing quarantine items. No EPSS data provided, no CISA KEV listing indicates targeted rather than mass exploitation, and no public POC confirmed at analysis time. SSVC assessment suggests moderate priority: exploitation requires social engineering (admin must click quarantine item), technical impact is total compromise but scope limited to organizations actually using quarantine review features. Primary risk is to multi-tenant mail providers and enterprises with dedicated security teams reviewing spam quarantines daily. Organizations not actively using mailcow quarantine features have significantly lower effective risk despite high CVSS. |
| Exploit ScenarioDerived | An external attacker sends a spam or phishing email to the target mailcow domain with an attachment named <img src=x onerror=alert(document.cookie)>.pdf or similar XSS payload embedded in the filename. The mailcow spam filter quarantines this email as expected. When a system administrator logs into the mailcow web interface and clicks the quarantined message to review details, the unsanitized attachment filename injects directly into the HTML of the quarantine modal. The browser executes the embedded JavaScript in the context of the administrator's session, allowing the attacker to steal session cookies, create new administrative accounts, modify mail routing rules, or exfiltrate email data. Because publicly available exploit code exists for similar stored XSS vulnerabilities and attack complexity is low, adversaries familiar with basic XSS techniques can easily weaponize this vulnerability once they identify a target using vulnerable mailcow versions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Stored cross-site scripting (XSS) in mailcow: dockerized (versions prior to 2026-03b) allows remote unauthenticated attackers to execute arbitrary JavaScript in administrator sessions by delivering emails with malicious attachment filenames. When administrators view quarantined emails through the web interface, unsanitized filenames inject into HTML without escaping, triggering automatic JavaScript execution that can compromise administrator accounts. No public exploit or active exploitation confirmed at time of analysis, though CVSS 8.9 (CVSS 4.0) reflects high impact with low attack complexity requiring user interaction.
RemediationAI
Upgrade immediately to mailcow: dockerized version 2026-03b or later, which implements proper HTML escaping for attachment filenames in the quarantine details modal. Download from the official GitHub repository following standard mailcow upgrade procedures for Docker-based deployments. Vendor advisory at https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-2xjc-rg88-jvpp confirms fix availability and includes upgrade guidance. If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Restrict quarantine management interface access to trusted IP ranges via reverse proxy rules or firewall ACLs-reduces attack surface but doesn't prevent exploitation by compromised legitimate administrators. (2) Disable automatic quarantine retention and rely solely on real-time spam filtering-eliminates vulnerable code path entirely but removes quarantine review capability for false positive recovery. (3) Implement Content Security Policy headers blocking inline JavaScript execution on admin interface-mitigates XSS impact but may break legitimate mailcow functionality and requires testing. All workarounds provide partial risk reduction only; vendor patch is the definitive solution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mailcow: dockerized is a containerized open-source email and groupware suite running on Docker. The vulnerability resides in the Quarantine details modal component of the administrative web interface, which displays metadata about quarantined emails including attachment filenames. The application fails to perform HTML entity encoding or sanitization before inserting attachment filenames into the DOM, creating a classic stored XSS (CWE-79) vulnerability. Because quarantine items are stored server-side and rendered upon administrator access, this is a stored/persistent XSS rather than reflected. The vulnerability affects the CPE-identified product cpe:2.3:a:mailcow:mailcow-dockerized across all versions prior to the 2026-03b release, which introduced proper output encoding for user-controlled attachment name fields.
Know when Mailcow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the Quarantine details modal injects attachment filenames into HTML without escaping, allowing arbitrary HTML/JS execution. An attacker can deliver an email with a crafted attachment name so that when an admin views the quarantine item, JavaScript executes in their browser, taking over their account. Version 2026-03b fixes the vulnerability.
Executive ViewAI
mailcow: dockerized versions prior to 2026-03b contain a stored cross-site scripting vulnerability in email attachment filename handling that allows unauthenticated attackers to execute arbitrary JavaScript within administrator browser sessions. This vulnerability directly compromises administrative accounts through weaponized emails, creating a pathway to full email system compromise without requiring prior authentication.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict mailcow web interface access to trusted IP ranges via firewall or reverse proxy; (2) implement email content filtering rules to reject messages with attachment filenames containing HTML/JavaScript syntax; (3) enforce multi-factor authentication for all administrator accounts to reduce lateral movement impact; (4) disable email quarantine review features if operationally feasible; (5) monitor administrator account audit logs for unauthorized actions; (6) educate administrators to avoid clicking links or viewing unknown attachments through the web interface.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
mailcow 0.14, as used in "mailcow: dockerized" and other products, has CSRF. Rated high severity (CVSS 8.8), this vulner
mailcow is a dockerized email package, with multiple containers linked in one bridged network. Rated high severity (CVSS
mailcow is a mailserver suite. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack co
mailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin
mailcow is a mailserver suite. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentica
mailcow: dockerized is an open source groupware/email suite based on docker. Rated high severity (CVSS 7.1), this vulner
mailcow: dockerized is an open source groupware/email suite based on docker. Rated medium severity (CVSS 6.2), this vuln
mailcow: dockerized is an open source groupware/email suite based on docker. Rated medium severity (CVSS 6.1). Public ex
Stored server-side template injection in mailcow: dockerized releases before 2026-11 lets an authenticated domain admini
Stored cross-site scripting in mailcow dockerized versions before 2026-03b enables remote attackers to execute arbitrary
mailcow is a mail server suite based on Dovecot, Postfix and other open source software, that provides a modern web UI f
Stored cross-site scripting in the mailcow-dockerized administrator Queue Manager allows attackers who can influence Pos
EUVD-2026-24255
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB