# CVE-2026-40872: mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 32% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T19:14:45.309Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mailcow mailcow-dockerized: < 2026-03b

## References

- <https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-f9xf-vc72-rcgm> (exploit)

## Sources

- CVE List: [CVE-2026-40872](https://www.cve.org/CVERecord?id=CVE-2026-40872), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-40872](https://nvd.nist.gov/vuln/detail/CVE-2026-40872), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40872 · Whole record: https://cve.day/CVE-2026-40872.json · Rebuilt by cve.day 2026-11-25T22:59:19.136Z
