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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductGo
PublishedMay 7, 2026
First seenMay 7, 2026

How to fix

Update
  • golang go1.25.10, 1.26.3 or later
  • stdlib1.25.10, 1.26.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.25.10, 1.26.0 ≤ v < 1.26.31.25.10, 1.26.3
stdlibGov < 1.25.10, 1.26.0-0 ≤ v < 1.26.31.25.10, 1.26.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.