Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 79%

CVE-2026-40872: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mailcow mailcow-dockerized

0
Critical
VulnerabilityCVE-2026-40872cvecve-2026-40872cwe-79cwe-80
Published: Tue Apr 21 2026 (04/21/2026, 19:14:45 UTC)
Source: CVE Database V5
Vendor/Project: mailcow
Product: mailcow-dockerized

Description

CVE-2026-40872 is a critical cross-site scripting (XSS) vulnerability in mailcow-dockerized versions prior to 2026-03b. The vulnerability arises because the admin dashboard's Autodiscover logs render the EMailAddress value without HTML escaping, allowing an attacker to submit a crafted email address containing malicious HTML or JavaScript. This payload is stored in Redis and executed when an admin views the Autodiscover logs. The issue is fixed in version 2026-03b.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 11:36:56 UTC

Technical Analysis

mailcow-dockerized is an open source groupware/email suite using Docker. In versions before 2026-03b, the Autodiscover logs in the admin dashboard improperly neutralize input by rendering the EMailAddress field without HTML escaping. An unauthenticated attacker can submit an Autodiscover request with a maliciously crafted EMailAddress containing HTML or JavaScript code. This payload is stored in Redis and later executed in the context of the admin dashboard when viewed, resulting in a stored cross-site scripting vulnerability. The vulnerability is identified as CWE-79 and CWE-80 and has a CVSS 4.0 score of 9.3, indicating critical severity. The vulnerability is fixed in version 2026-03b.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the context of the admin dashboard user’s browser. This can lead to administrative session compromise, unauthorized actions, or data disclosure within the mailcow admin interface. The vulnerability affects all versions prior to 2026-03b. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in 2026-03b, applying this official fix fully mitigates the risk. No additional mitigation steps are indicated or necessary beyond applying the update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-15T15:57:41.718Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e7d08919fe3cd2cdf3fb16

Added to database: 4/21/2026, 7:31:21 PM

Last enriched: 4/29/2026, 11:36:56 AM

Last updated: 6/5/2026, 10:21:33 PM

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses