mailcow: dockerized vulnerable to stored XSS in user login history real_rip
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mailcow-dockerized (mailcow) Fixed in 2026-03b
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40875
References
More mailcow vulnerabilities
- TI-2026-29528 mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field CVSS 4.0CRITICAL 9.3
- TI-2026-29529 mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames CVSS 4.0HIGH 8.9
- TI-2022-13182 OS Command Injection in mailcow CVSS 3.1HIGH 8.8
- TI-2022-18634 mailcow-dockerized critical information misrepresentation can lead to phishing attacks through Swagger UI CVSS 3.1HIGH 8.2
- TI-2026-06557 mailcow-dockerized 2026-03b - Stored XSS in Queue Manager via unescaped CVSS 4.0HIGH 7.4
- TI-2026-29527 mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via API CVSS 3.1HIGH 7.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences