Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40875— mailcow: dockerized vulnerable to stored XSS in user login history real_rip

EPSS 0.05% · P16
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40875

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mailcow: dockerized vulnerable to stored XSS in user login history real_rip
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
mailcow: dockerized 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mailcow: dockerized是mailcow开源的一个docker化的mailcow应用软件。 mailcow: dockerized 2026-03b之前版本存在安全漏洞,该漏洞源于用户仪表板登录历史中未对客户端IP进行HTML转义,且服务器信任X-Real-IP标头,可能导致攻击者注入HTML/JS,结合登录CSRF读取受害者邮件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
mailcowmailcow-dockerized < 2026-03b -

II. Public POCs for CVE-2026-40875

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40875

登录查看更多情报信息。

Same Patch Batch · mailcow · 2026-04-21 · 6 CVEs total

CVE-2026-408717.2 HIGHmailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via AP
CVE-2026-40872mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field
CVE-2026-40874mailcow: dockerized missing authorization on Forwarding Hosts delete action
CVE-2026-40873mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames
CVE-2026-40878mailcow-dockerized Login Page has Reflected Parameter Injection / Wrong-Context XSS Escapi

IV. Related Vulnerabilities

V. Comments for CVE-2026-40875

No comments yet


Leave a comment