{"id":"CVE-2026-72720","aliases":["CVE-2026-72720","BIT-DISCOURSE-2026-72720","GHSA-3q6f-6gm9-m35v"],"related":[],"kind":"vulnerability","state":"published","title":"Discourse: HTML injection in PrettyText.format_for_email from cooked-attribute reparsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Discourse is an open-source discussion platform. Prior to 2026.1.7, 2026.6.2, 2026.7.1, and 2026.8.0, 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.","format":"markdown","source":"bitnami"}],"published":"2026-08-10T15:41:51.764Z","modified":"2026-09-08T20:54:37.790Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2026.1.7","status":"affected"},{"version":">= 2026.6.0-latest, < 2026.6.2","status":"affected"},{"version":">= 2026.7.0-latest, < 2026.7.1","status":"affected"},{"version":">= 2026.8.0-latest, < 2026.8.0-latest.1","status":"affected"}],"vendor":"discourse","product":"discourse","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2026.1.7"},{"type":"semver","introduced":"2026.6.0","status":"affected","fixed":"2026.6.2"},{"type":"semver","introduced":"2026.7.0","status":"affected","fixed":"2026.7.1"}],"ecosystem":"Bitnami","package":"discourse","purl":"pkg:bitnami/discourse","source":"bitnami"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-3q6f-6gm9-m35v","tags":["web","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/pull/42244","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/pull/42245","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/pull/42246","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/pull/42247","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/234ee88a5b9b53bf938c53351eab20130323485f","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/4b639a52f47fb3d46093bece9df147e4e9517a11","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/a5d3b112d598242c1d1803d5a77bf98d5fdabd75","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/discourse/discourse/commit/b25a074b165253e01fc4c8911b980fc68338ea16","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72720","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-10T18:13:33.296Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72720","url":"https://www.cve.org/CVERecord?id=CVE-2026-72720","licence":"CVE Terms of Use","modified":"2026-08-10T18:17:21.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72720","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72720","licence":"Public domain","modified":"2026-09-08T20:54:37.790Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DISCOURSE-2026-72720","url":"https://osv.dev/vulnerability/BIT-DISCOURSE-2026-72720","licence":"Apache-2.0","modified":"2026-08-17T08:10:29.555Z"}],"updatedAt":"2026-11-25T22:59:32.133Z","epss":{"score":0.00299,"percentile":0.24308,"date":"2026-12-01T12:00:22.000Z"}}