CVE-2026-39826

medium

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.

References

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

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

https://go.dev/issue/78981

https://go.dev/cl/771180

Details

Source: Mitre, NVD

Published: 2026-05-07

Updated: 2026-05-08

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00012