CVE-2026-40872: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mailcow mailcow-dockerized
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 Analysis
Technical Summary
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.
CVE-2026-40872: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mailcow 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.