Name
CVE-2026-39826
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.
CWEs
Published Date
Updated Date
Workaround
-
Advisories
https://pkg.go.dev/vuln/GO-2026-4980Vendor Advisory
Analysis#
Vulnerability Ratings#
6.1
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
openwrt
master
1.24.13-r1
Exploitable
openwrt
master
1.26.4-r1
Not Affected
openwrt
openwrt-25.12
1.24.13-r1
Exploitable
openwrt
openwrt-25.12
1.26.4-r1
Not Affected
yocto
kirkstone
1.17.13
Exploitable
yocto
kirkstone
1.17.13
Exploitable
yocto
master
1.26.4
Not Affected
yocto
master
1.26.4
Not Affected
Resolved with patches#
go (yocto:scarthgap)
#
Title
Author
Resolve
1
html/template: fix escaper bypass by treating empty script
Neal Patel <nealpatel@google.com>
CVE-2026-39826