{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-72720","id":"CVE-2026-72720","title":"Discourse: HTML injection in PrettyText.format_for_email from cooked-attribute reparsing","description":"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 con","descriptionLong":"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.","published":"2026-08-10T15:41:51.764Z","updated":"2026-10-28T02:30:36.833803486Z","reserved":"2026-08-10T13:48:09.545Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["discourse"],"affectedProducts":[{"vendor":"discourse","product":"discourse","defaultStatus":null,"versions":[{"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"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["BIT-discourse-2026-72720","GHSA-3q6f-6gm9-m35v"],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-3q6f-6gm9-m35v","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/discourse/discourse/pull/42244","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/pull/42245","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/pull/42246","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/pull/42247","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/commit/234ee88a5b9b53bf938c53351eab20130323485f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/commit/4b639a52f47fb3d46093bece9df147e4e9517a11","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/commit/a5d3b112d598242c1d1803d5a77bf98d5fdabd75","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/discourse/discourse/commit/b25a074b165253e01fc4c8911b980fc68338ea16","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72720.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72720","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00408,"epssPercentile":0.35802,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-72720","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72720","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-72720","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-72720","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}