{"id":"GO-2026-4980","aliases":["BIT-golang-2026-39826","CVE-2026-39826"],"title":"Escaper bypass leads to XSS in html/template","titleSource":"OSV","descriptionSource":"OSV","description":"If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.","severity":"unknown","score":null,"published":"2026-05-07T19:21:40.000Z","modified":"2026-11-14T13:12:13.012Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Go","name":"stdlib","sources":[{"name":"OSV · GO-2026-4980","url":"https://osv.dev/vulnerability/GO-2026-4980"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.25.10"},{"introduced":"1.26.0-0"},{"fixed":"1.26.3"}],"type":"SEMVER"}],"versions":[],"fixed":["1.25.10","1.26.3"]}],"sourceAffected":[],"references":["https://go.dev/issue/78981","https://go.dev/cl/771180","https://groups.google.com/g/golang-announce/c/qcCIEXso47M"],"sources":[{"name":"OSV","id":"GO-2026-4980","modified":"2026-11-14T13:12:13.012708961Z","url":"https://osv.dev/vulnerability/GO-2026-4980"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-14T15:23:38.767Z","kev":{"status":"not-listed","checkedAt":"2026-11-15T03:00:33.317Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-14T16:20:43.326Z","attemptedAt":"2026-11-14T16:20:43.326Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-14T16:15:36.669Z","attemptedAt":"2026-11-14T16:15:36.669Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-14T16:15:36.396Z","attemptedAt":"2026-11-14T16:15:36.396Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-14T16:15:36.390Z","attemptedAt":"2026-11-14T16:15:36.390Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-39826","url":"https://www.first.org/epss/","probability":0.00371,"percentile":0.31536,"date":"2026-11-14","checkedAt":"2026-11-14T16:15:36.390Z"},{"source":"ENISA EUVD","id":"EUVD-2026-28426","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-28426","modified":"May 8, 2026, 2:05:05 PM","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-11-14T16:15:36.396Z"},{"source":"GitHub Advisory Database","id":"GHSA-3v2c-x6q9-f697","url":"https://github.com/advisories/GHSA-3v2c-x6q9-f697","modified":"2026-05-13T18:30:34Z","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-11-14T16:15:36.669Z"},{"source":"NVD","id":"CVE-2026-39826","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39826","modified":"2026-10-26T20:10:00.160","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","checkedAt":"2026-11-14T16:20:43.326Z"}],"aiSummary":null}