Skip to main content
VulnerabilityPublished

CVE-2026-40875: mailcow-dockerized · Cross-site Scripting

Affects mailcow-dockerizedSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.0 High : upgrade to 2026-03b soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2026-03b
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade mailcow-dockerized to 2026-03b.

Affected software

ProductAffectedFixed in
mailcowmailcow-dockerizedAffected
  • <2026-03b
Fixed in
  • 2026-03b

AI-suggested

Upgrade mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. Until upgraded, be cautious of login CSRF attacks and untrusted X-Real-IP headers. Patch status is not explicitly confirmed beyond the version fix mention; check vendor sources for current remediation guidance.

Description

mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the user dashboard's "Seen successful connections" (login history) renders the client IP from login logs without HTML escaping. Because the server trusts the X-Real-IP header as the source IP for logging, an attacker can inject HTML/JS into this field. This Self-XSS can be exploited by a Login CSRF to force the victim into the attacker's account, and then read emails in a previous browser tab. Version 2026-03b fixes the vulnerability.

References

Community reviews

Loading reviews…