Skip to content
Heist/ feed
Back to feed
Low

Cross-site Scripting (XSS) via Relay Hosts Configuration in mailcow: dockerized

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-41960
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:30 UTC · Revision 1

Source evidence

Cross-site Scripting (XSS) via Relay Hosts Configuration in mailcow: dockerized

core-osv · Original source

Published 5 Aug 2024, 19:59 UTC

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.

osv:CVE-2024-41960
Complete source record
{
  "id": "20162903f14c26db78d2149824d7916cf1668e4056fdc187a5d90efbd826ccd4",
  "url": "https://osv.dev/vulnerability/CVE-2024-41960",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Cross-site Scripting (XSS) via Relay Hosts Configuration in mailcow: dockerized",
    "summary": "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.",
    "evidence": "osv:CVE-2024-41960",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-41960",
      "aliases": [
        "CVE-2024-41960",
        "GHSA-jpp8-rhg6-4vvv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mailcow/mailcow-dockerized",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fcf27d640d61a9fef09ae6efc3b59a92b7412fb8"
                },
                {
                  "fixed": "efb2572f0fa57628ad98a76a4ae884a10cac0a1a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mailcow:mailcow\\:_dockerized:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2024-07"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "efb2572f0fa57628ad98a76a4ae884a10cac0a1a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2024-06c",
            "2024-06b",
            "2024-06a",
            "2024-06",
            "2024-04",
            "2024-02",
            "2024-01e",
            "2024-01d",
            "2024-01c",
            "2024-01b",
            "2024-01a",
            "2024-01",
            "2023-12a",
            "2023-12",
            "2023-11a",
            "2023-11",
            "2023-10a",
            "2023-10",
            "2023-09",
            "2023-08",
            "2023-07a",
            "2023-07",
            "2023-05a",
            "2023-05",
            "2023-04b",
            "2023-04a",
            "2023-04",
            "2023-03",
            "2023-02a",
            "2023-02",
            "2023-01a",
            "2023-01",
            "2022-12b",
            "2022-12a",
            "2022-12",
            "2022-11b",
            "2022-11a",
            "2022-11",
            "2022-10a",
            "2022-10",
            "2022-09a",
            "2022-09",
            "2022-08b",
            "2022-08a",
            "2022-08",
            "2022-07a",
            "2022-07",
            "2022-06b",
            "2022-06a",
            "2022-06",
            "2022-05d",
            "2022-05c",
            "2022-05b",
            "2022-05a",
            "2022-05",
            "2022-03a",
            "2022-03",
            "2022-01a",
            "2022-01"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41960.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.935959232Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41960.json",
        "https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jpp8-rhg6-4vvv",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41960",
        "https://github.com/mailcow/mailcow-dockerized/commit/efb2572f0fa57628ad98a76a4ae884a10cac0a1a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41960.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41960",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504142,
  "published_at": "2024-08-05T19:59:48.492+00:00"
}