CVE-2026-40872
mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field
- State
- Published
- Severity
- 9.3 Critical
- Published
- Apr 21, 2026
- Updated
- Apr 22, 2026
- Reserved
- Apr 15, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | 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 | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
mailcow-dockerizedmailcow |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.