CVE-2026-97030

GO-2026-6600 · published 8 Oct 2026 · updated 14 Nov 2026

Recognize yield as regexp preceder keyword in html/template

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.26.9, 1.27.2 and stdlib 1.27.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.26.9, >=1.27.0-0 <1.27.21.26.9, 1.27.2
go: stdlib>=1.27.0-0 <1.27.21.27.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in stdlib (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-97030 severity on Zeptric[![CVE-2026-97030](https://zeptric.io/badge/cve/CVE-2026-97030.svg)](https://zeptric.io/cve/CVE-2026-97030)