cvelo
P4 · InfoEPSS 0.3%

Recognize yield as regexp preceder keyword in html/template

  • CVE-2026-97030
  • BIT-golang-2026-97030
  • GO-2026-6600

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 the OSV record.

Affected

  • stdlibGo

    • all versions, fixed in 1.26.9
    • from 1.27.0-0, fixed in 1.27.2

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.