# CVE-2026-40873: mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames

- Severity: High 8.9 (CVSS:4.0, scored by GitHub_M) `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`
- 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.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-21T19:15:39.046Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, 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 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.

(As written by CVE List.)

## Affected

- mailcow mailcow-dockerized: < 2026-03b

## References

- <https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-2xjc-rg88-jvpp> (exploit)

## Sources

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

---

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