# CVE-2024-41960: Cross-site Scripting (XSS) via Relay Hosts Configuration in mailcow: dockerized

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2024-08-05T19:59:48.492Z
- Modified: 2026-06-17T07:48:31.933Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

mailcow: dockerized is an open source groupware/email suite based on docker. An authenticated admin user can inject a JavaScript payload into the Relay Hosts configuration. The injected payload is executed whenever the configuration page is viewed, enabling the attacker to execute arbitrary scripts in the context of the user's browser. This could lead to data theft, or further exploitation. This issue has been addressed in the `2024-07` release. All users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- mailcow mailcow-dockerized: < 2024-07
- mailcow mailcow:_dockerized: before 2024-07

## Every score

- GitHub_M: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jpp8-rhg6-4vvv> (third-party-advisory)
- <https://github.com/mailcow/mailcow-dockerized/commit/efb2572f0fa57628ad98a76a4ae884a10cac0a1a> (patch)

## Sources

- CVE List: [CVE-2024-41960](https://www.cve.org/CVERecord?id=CVE-2024-41960), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2024-41960](https://nvd.nist.gov/vuln/detail/CVE-2024-41960), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41960 · Whole record: https://cve.day/CVE-2024-41960.json · Rebuilt by cve.day 2026-11-25T22:58:43.801Z
