{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.1.7"
              },
              {
                "introduced": "2026.6.0-latest"
              },
              {
                "fixed": "2026.6.2"
              },
              {
                "introduced": "2026.7.0-latest"
              },
              {
                "fixed": "2026.7.1"
              },
              {
                "introduced": "2026.8.0-latest"
              },
              {
                "fixed": "2026.8.0-latest.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "06d03da34c4ed09ea59f917f045ba250d2b6320d"
            },
            {
              "introduced": "ded677e00beb0e9bae6e70b69582aecfb72b5477"
            },
            {
              "introduced": "fb9247e04a826ab8e4d91168b3c4c839ec40bccc"
            },
            {
              "fixed": "b6af77c0382ac61817e825e4e285217327772b54"
            },
            {
              "fixed": "ac368a8cac47e413b99f122c890e32c133a4bacc"
            },
            {
              "fixed": "cbf996f65aae3da1843224aa624bcd9a225931ac"
            },
            {
              "fixed": "b88e77d40524f929740726615f4c081efa3a405c"
            },
            {
              "fixed": "234ee88a5b9b53bf938c53351eab20130323485f"
            },
            {
              "fixed": "4b639a52f47fb3d46093bece9df147e4e9517a11"
            },
            {
              "fixed": "a5d3b112d598242c1d1803d5a77bf98d5fdabd75"
            },
            {
              "fixed": "b25a074b165253e01fc4c8911b980fc68338ea16"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3q6f-6gm9-m35v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72720.json"
  },
  "details": "Discourse is an open-source discussion platform. Prior to 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0-latest.1, Discourse has HTML injection in PrettyText.format_for_email because cooked attribute values are reparsed as markup. Crafted Vimeo iframe sources, secure-upload URLs or dimensions, and hashtag data-slug values can cause decoded attribute text to be reinterpreted as HTML. The vulnerable conversion also fails to strictly validate the Vimeo iframe host and path, allowing non-Vimeo allowlisted iframes to be converted. This issue is fixed in versions 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0-latest.1.",
  "id": "CVE-2026-72720",
  "modified": "2026-09-10T03:30:41.965564672Z",
  "published": "2026-08-10T15:41:51.764Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72720.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-3q6f-6gm9-m35v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72720"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/234ee88a5b9b53bf938c53351eab20130323485f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/4b639a52f47fb3d46093bece9df147e4e9517a11"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/a5d3b112d598242c1d1803d5a77bf98d5fdabd75"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/b25a074b165253e01fc4c8911b980fc68338ea16"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/pull/42244"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/pull/42245"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/pull/42246"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/pull/42247"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Discourse: HTML injection in PrettyText.format_for_email from cooked-attribute reparsing"
}