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…

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

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 19:46:47 UTC

Technical Analysis

mailcow-dockerized, an open source groupware/email suite, suffers from an improper neutralization of input during web page generation (CWE-79) in its Autodiscover logs on the admin dashboard. Specifically, the EMailAddress value logged as the "user" field is not HTML escaped before rendering. An unauthenticated attacker can submit a crafted Autodiscover request with malicious HTML/JavaScript in the EMailAddress, which is stored in Redis and executed when an admin views the logs. This leads to stored cross-site scripting. The vulnerability affects all versions prior to 2026-03b, which contains the fix.

Potential Impact

Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in the context of the admin dashboard, potentially leading to session hijacking, credential theft, or other administrative actions. The vulnerability is critical with a CVSS 4.0 score of 9.3, reflecting network attack vector, no privileges required, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. No other official remediation or temporary fix is documented. Until upgrading, restrict access to the admin dashboard and monitor for suspicious Autodiscover requests if possible. Patch status is not explicitly stated but the description confirms version 2026-03b fixes the issue.

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/21/2026, 7:46:47 PM

Last updated: 4/22/2026, 7:19:19 AM

Views: 12

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