CVE-2026-97030: Go Standard Library Html/template

Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Go Standard Library Html/template, before 1.26.9: fixed in 1.26.9
  • Go Standard Library Html/template, from 1.27.0-0, before 1.27.2: fixed in 1.27.2

Affected products

Affected packages

Published 2026-10-08. Last modified 2026-10-15.