Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-05-07 | Updated 2026-05-08 | Assigner Go

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version before 1.25.10
affected

1.26.0-0 (semver) before 1.26.3
affected

Credits

Mundur (https://github.com/M0nd0R)

References

go.dev/issue/78981

go.dev/cl/771180

groups.google.com/g/golang-announce/c/qcCIEXso47M

pkg.go.dev/vuln/GO-2026-4980

cve.org (CVE-2026-39826)

nvd.nist.gov (CVE-2026-39826)

Download JSON