{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-39826","id":"CVE-2026-39826","title":"Escaper bypass leads to XSS in html/template","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.","descriptionLong":"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.","published":"2026-05-07T19:41:19.138Z","updated":"2026-10-28T02:30:37.767760019Z","reserved":"2026-04-07T18:13:03.528Z","status":"Analyzed","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Go standard library html/template"],"affectedProducts":[{"vendor":"Go standard library","product":"html/template","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.25.10","status":"affected","versionType":"semver"},{"version":"1.26.0-0","lessThan":"1.26.3","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.25.10",">=1.26.0-0 <1.26.3"],"fixed":["1.25.10","1.26.3"],"advisory":"GO-2026-4980"}],"cwes":["CWE-79","CWE-116"],"aliases":["BIT-golang-2026-39826","GO-2026-4980"],"references":[{"url":"https://go.dev/issue/78981","tags":["Patch","web","report"]},{"url":"https://go.dev/cl/771180","tags":["Patch","web","fix"]},{"url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M","tags":["Release Notes","web"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4980","tags":["Vendor Advisory","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39826.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39826","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.00371,"epssPercentile":0.31713,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-39826","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39826","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-39826","ok":true,"note":"1 package"},{"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-39826","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}