All vulnerabilities
CVE-2026-97030

Recognize yield as regexp preceder keyword in html/template

Go standard library html/template
CVSS
6.1Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.20%Chance of exploitation activity in the next 30 days, higher than 9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.26.9Also 1.27.2CVE List
Published8 Oct 2026Updated 15 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.

Text from CVE List

Affected versions 2

  • html/templateaffected: all versions before 1.26.9CVE List
  • html/templateaffected: 1.27.0-0 before 1.27.2CVE List

References 4