| { |
| "schema_version": "1.3.1", |
| "id": "GO-2026-4980", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2026-39826" |
| ], |
| "summary": "Escaper bypass leads to XSS in html/template", |
| "details": "If a trusted template author were to write a \u003cscript\u003e 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 \u003cscript\u003e block.", |
| "affected": [ |
| { |
| "package": { |
| "name": "stdlib", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.25.10" |
| }, |
| { |
| "introduced": "1.26.0-0" |
| }, |
| { |
| "fixed": "1.26.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "html/template", |
| "symbols": [ |
| "Template.Execute", |
| "Template.ExecuteTemplate", |
| "isJSType" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/78981" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/771180" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Mundur (https://github.com/M0nd0R)" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2026-4980", |
| "review_status": "REVIEWED" |
| } |
| } |