What’s Vulnerable › Vulnerabilities
CVE-2024-41959: Cross-site Scripting (XSS) via API Logs in mailcow: dockerized
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-05 · updated 2026-06-17
- Weakness: CWE-79
Description
mailcow: dockerized is an open source groupware/email suite based on docker. An unauthenticated attacker can inject a JavaScript payload into the API logs. This payload is executed whenever the API logs page is viewed, potentially allowing an attacker to run malicious scripts in the context of the user's browser. This could lead to unauthorized actions, data theft, or further exploitation of the affected system. This issue has been addressed in the `2024-07` release. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- mailcow-dockerized: before 2024-07 — fixed in 2024-07
How to fix
Upgrade to a fixed version: mailcow-dockerized 2024-07. Check the vendor advisory for mitigations.
References
- https://github.com/mailcow/mailcow-dockerized/commit/66aa28b5de282fc037e0d2f02fbdc84539b614a1
- https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-v3r3-8f69-ph29
Get alerted when CVE-2024-41959 or the next vulnerability affects your stack