CVE-2026-40872 is a stored cross-site scripting (XSS) vulnerability in mailcow: dockerized versions prior to 2026-03b, affecting the admin dashboard's Autodiscover logs functionality. The vulnerability allows an attacker to inject HTML/JavaScript payloads through a crafted EMailAddress field in an unauthenticated Autodiscover request, which is then stored in Redis and executed when an administrator accesses the logs. The attack requires no authentication and leverages the failure to HTML-escape the EMailAddress value in the logs output, making it a network-accessible vulnerability with low complexity. While specific impact details are not provided, successful exploitation would allow attackers to execute arbitrary JavaScript in the admin's browser session, potentially leading to account compromise, administrative action manipulation, or credential theft. There is no evidence of active exploitation in the wild, as the vulnerability is not listed on the Known Exploited Vulnerabilities (KEV) catalog and maintains an inactive status on exploit tracking platforms. The EPSS score of 0.00047 indicates extremely low probability of exploitation, and no public exploit code appears to be available, though the straightforward nature of XSS vulnerabilities suggests proof-of-concept development would be trivial for motivated attackers.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
| Mailcow | Mailcow-Dockerized | < 2026-03bCNA affected |
CVSS version used by this source: 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.8 Bluesky, 0.5 Mastodon, and 1.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.
Remediation records are not available for this CVE.