Skip to main content
← All vulnerabilities
CVE-2026-97030GO-2026-6600BIT-GOLANG-2026-97030

Recognize yield as regexp preceder keyword in html/template

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.26.9, 1.27.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • html/template

    fixed in 1.26.9; From 1.27.0-0 · fixed in 1.27.2

  • stdlibGo

    fixed in 1.26.9; From 1.27.0-0 · fixed in 1.27.2

References 4

go.dev

groups.google.com

pkg.go.dev