Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Go standard library / html/template | affected 0 before 1.25.10; affected 1.26.0-0 before 1.26.3 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/issue/78981
- https://go.dev/cl/771180
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- https://pkg.go.dev/vuln/GO-2026-4980
ADP enrichment
No English description supplied.
No references supplied.