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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40872— mailcow: dockerized vulnerable to stored XSS in autodiscover logs email address field

Quick assessment

Affected
mailcow mailcow-dockerized
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mailcow: dockerized是mailcow开源的一个docker化的mailcow应用软件。 mailcow: dockerized 2026-03b之前版本存在跨站脚本漏洞,该漏洞源于管理仪表板的Autodiscover日志未对EMailAddress值进行HTML转义,可能导致存储型跨站脚本攻击。

AI Predicted 6.1 Difficulty: Easy EPSS 0.44% · P37
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40872

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 autodiscover logs email address field
Source: CVE Program / CVE List V5
Vulnerability Description
mailcow: dockerized is an open source groupware/email suite based on docker. In versions prior to 2026-03b, the admin dashboard's Autodiscover logs render the EMailAddress value (logged as the "user" field) without HTML escaping. By submitting an unauthenticated Autodiscover request with a crafted EMailAddress containing HTML/JS, the payload is stored in Redis and executed when an admin views the Autodiscover logs. Version 2026-03b fixes the vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
mailcow: dockerized 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mailcow: dockerized是mailcow开源的一个docker化的mailcow应用软件。 mailcow: dockerized 2026-03b之前版本存在跨站脚本漏洞,该漏洞源于管理仪表板的Autodiscover日志未对EMailAddress值进行HTML转义,可能导致存储型跨站脚本攻击。
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

Vendor Product Affected Versions CPE Subscribe
mailcow mailcow-dockerized < 2026-03b -

II. Public POCs for CVE-2026-40872

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40872

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40872 (1)

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

CVE-2026-40871 7.2 HIGH mailcow: dockerized vulnerable to Second Order SQL Injection in quarantine category via AP
CVE-2026-40875 mailcow: dockerized vulnerable to stored XSS in user login history real_rip
CVE-2026-40874 mailcow: dockerized missing authorization on Forwarding Hosts delete action
CVE-2026-40873 mailcow: dockerized vulnerable to stored XSS in Quarantine attachment filenames
CVE-2026-40878 mailcow-dockerized Login Page has Reflected Parameter Injection / Wrong-Context XSS Escapi

IV. Related Vulnerabilities

V. Comments for CVE-2026-40872

No comments yet


Leave a comment