Stored Cross-Site Scripting Vulnerability in Mailcow Email Suite
CVE-2026-40872
9.3CRITICAL
What is CVE-2026-40872?
The Mailcow: Dockerized email suite contains a stored cross-site scripting (XSS) vulnerability in its admin dashboard. Specifically, the Autodiscover logs improperly render the 'user' field containing EMailAddress values without proper HTML escaping. This flaw allows an attacker to submit an unauthenticated Autodiscover request with a specially crafted EMailAddress. When this payload is logged in Redis and an admin subsequently views the Autodiscover logs, the malicious script can be executed, potentially compromising the admin's session. The issue has been addressed in version 2026-03b.
Affected Version(s)
mailcow-dockerized < 2026-03b
