Skip to content
Heist/ feed
Back to feed
Medium

Zammad: Improper neutralization of `srcset` attribute in IMG tags in Zammad

Type: advisorySources: OSV

Zammad is a web based open source helpdesk/customer support system. Prior to 7.0.2 and 7.1.0, zammad's HTML sanitizer (HtmlSanitizer::Strict) blocks external URLs in to prevent remote content loading, but the srcset attribute, also allowlisted for , is not subject to the same check. This oversight allows an attacker to embed arbitrary external URLs in the srcset attribute just by sending an e-mail, effectively bypassing the external content protection. When an agent views the ticket containing the malicious srcset, the browser will silently load the attacker-controlled URL, resulting in the leakage of the agent's IP address, User-Agent, Referer, and the exact time the ticket was viewed. HtmlSanitizer::Strict got extended to block external URLs in the srcset attribute of tags. This was done to prevent tracking pixels and external content loading, which could compromise user privacy. This issue is fixed in versions 7.0.2 and 7.1.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-56735
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:34 UTC · Revision 1

Source evidence

Zammad: Improper neutralization of `srcset` attribute in IMG tags in Zammad

core-osv · Original source

Published 25 Sept 2026, 17:04 UTC

Zammad is a web based open source helpdesk/customer support system. Prior to 7.0.2 and 7.1.0, zammad's HTML sanitizer (HtmlSanitizer::Strict) blocks external URLs in to prevent remote content loading, but the srcset attribute, also allowlisted for , is not subject to the same check. This oversight allows an attacker to embed arbitrary external URLs in the srcset attribute just by sending an e-mail, effectively bypassing the external content protection. When an agent views the ticket containing the malicious srcset, the browser will silently load the attacker-controlled URL, resulting in the leakage of the agent's IP address, User-Agent, Referer, and the exact time the ticket was viewed. HtmlSanitizer::Strict got extended to block external URLs in the srcset attribute of tags. This was done to prevent tracking pixels and external content loading, which could compromise user privacy. This issue is fixed in versions 7.0.2 and 7.1.0.

osv:CVE-2026-56735
Complete source record
{
  "id": "ddf1854103814598ec3295bb81ddf74fc2d7c9439e504c4cf98c00cce2f51d00",
  "url": "https://osv.dev/vulnerability/CVE-2026-56735",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Zammad: Improper neutralization of `srcset` attribute in IMG tags in Zammad",
    "summary": "Zammad is a web based open source helpdesk/customer support system. Prior to 7.0.2 and 7.1.0, zammad's HTML sanitizer (HtmlSanitizer::Strict) blocks external URLs in to prevent remote content loading, but the srcset attribute, also allowlisted for , is not subject to the same check. This oversight allows an attacker to embed arbitrary external URLs in the srcset attribute just by sending an e-mail, effectively bypassing the external content protection. When an agent views the ticket containing the malicious srcset, the browser will silently load the attacker-controlled URL, resulting in the leakage of the agent's IP address, User-Agent, Referer, and the exact time the ticket was viewed. HtmlSanitizer::Strict got extended to block external URLs in the srcset attribute of tags. This was done to prevent tracking pixels and external content loading, which could compromise user privacy. This issue is fixed in versions 7.0.2 and 7.1.0.",
    "evidence": "osv:CVE-2026-56735",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-56735",
      "aliases": [
        "CVE-2026-56735",
        "GHSA-7fwx-3xr4-qm6w"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zammad/zammad",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9dc15acf239dbc32ec357708859f2d86b188846c"
                },
                {
                  "fixed": "02c1ff8dc65961352dc047013bece9dff1f2ffb7"
                },
                {
                  "fixed": "ecbb861ce33908e4b52bb2c78d816a0eef69e6a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "02c1ff8dc65961352dc047013bece9dff1f2ffb7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9dc15acf239dbc32ec357708859f2d86b188846c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "7.0.2"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ecbb861ce33908e4b52bb2c78d816a0eef69e6a6"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "7.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.1",
            "7.0.0",
            "7.1.0-alpha",
            "7.0.0-alpha",
            "6.6.0-alpha",
            "6.5.0-alpha",
            "6.4.0-alpha",
            "6.3.0-alpha",
            "6.2.0-alpha",
            "6.1.0-alpha",
            "6.0.0-alpha",
            "5.5.0-alpha",
            "5.4.0-alpha",
            "5.3.0-alpha",
            "5.2.0-alpha",
            "3.7.0",
            "1.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56735.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.319831011Z",
      "provider": "osv",
      "references": [
        "https://github.com/zammad/zammad/releases/tag/7.0.2",
        "https://github.com/zammad/zammad/releases/tag/7.1.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56735.json",
        "https://github.com/zammad/zammad/security/advisories/GHSA-7fwx-3xr4-qm6w",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-56735",
        "https://github.com/zammad/zammad/commit/02c1ff8dc65961352dc047013bece9dff1f2ffb7"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-82"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56735.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-56735",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505734,
  "published_at": "2026-09-25T17:04:03.247+00:00"
}