CVE-2026-40873: 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 Quarantine details modal injects attachment filenames into HTML without escaping, allowing arbitrary HTML/JS execution. An attacker can deliver an email with a crafted attachment name so that when an admin views the quarantine item, JavaScript executes in their browser, taking over their account. Version 2026-03b fixes the vulnerability.
AI Analysis
Technical Summary
mailcow mailcow-dockerized before version 2026-03b contains a CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability. Specifically, the Quarantine details modal fails to escape attachment filenames before injecting them into HTML, enabling an attacker to execute arbitrary JavaScript in the context of an administrator's browser. This can be exploited by delivering an email with a maliciously crafted attachment name. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity. No official remediation level or patch link is provided in the data, but version 2026-03b is noted as fixed.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the administrator's browser when viewing quarantine details, potentially leading to account takeover. This compromises the confidentiality and integrity of the administrator's session and access to the mailcow system. The vulnerability affects versions prior to 2026-03b.
Mitigation Recommendations
Upgrade mailcow mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade through the vendor's official channels. Until upgraded, avoid viewing quarantine items with untrusted attachment names or apply manual input sanitization if possible.
CVE-2026-40873: 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 Quarantine details modal injects attachment filenames into HTML without escaping, allowing arbitrary HTML/JS execution. An attacker can deliver an email with a crafted attachment name so that when an admin views the quarantine item, JavaScript executes in their browser, taking over their account. Version 2026-03b fixes the vulnerability.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
mailcow mailcow-dockerized before version 2026-03b contains a CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability. Specifically, the Quarantine details modal fails to escape attachment filenames before injecting them into HTML, enabling an attacker to execute arbitrary JavaScript in the context of an administrator's browser. This can be exploited by delivering an email with a maliciously crafted attachment name. The vulnerability has a CVSS 4.0 score of 8.9, indicating high severity. No official remediation level or patch link is provided in the data, but version 2026-03b is noted as fixed.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the administrator's browser when viewing quarantine details, potentially leading to account takeover. This compromises the confidentiality and integrity of the administrator's session and access to the mailcow system. The vulnerability affects versions prior to 2026-03b.
Mitigation Recommendations
Upgrade mailcow mailcow-dockerized to version 2026-03b or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade through the vendor's official channels. Until upgraded, avoid viewing quarantine items with untrusted attachment names or apply manual input sanitization if possible.
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: 69e7d08919fe3cd2cdf3fb19
Added to database: 4/21/2026, 7:31:21 PM
Last enriched: 4/21/2026, 7:46:37 PM
Last updated: 4/22/2026, 6:10:02 AM
Views: 5
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.