Skip to content
Heist/ feed
Back to feed
UnratedFix available

Recognize yield as regexp preceder keyword in html/template

Type: advisorySources: OSV

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.

Products
stdlib
Affected versions
Not specified
Fixed versions
1.26.9, 1.27.2
CVEs
CVE-2026-97030
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:01 UTC · Revision 1

Source evidence

Recognize yield as regexp preceder keyword in html/template

core-osv · Original source

Published 8 Oct 2026, 22:31 UTC

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.

osv:GO-2026-6600

stdlib

Fixed versions: 1.26.9, 1.27.2

Complete source record
{
  "id": "fc5812c4dd46a248884b9d95ded3c31f120b2af11a381ef6eb91704530440fad",
  "url": "https://osv.dev/vulnerability/GO-2026-6600",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Recognize yield as regexp preceder keyword in html/template",
    "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.",
    "evidence": "osv:GO-2026-6600",
    "products": [
      {
        "name": {
          "value": "stdlib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.9",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "1.27.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "GO-2026-6600",
      "aliases": [
        "BIT-golang-2026-97030",
        "CVE-2026-97030",
        "GO-2026-6600"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.9"
                },
                {
                  "introduced": "1.27.0-0"
                },
                {
                  "fixed": "1.27.2"
                }
              ]
            }
          ],
          "package": {
            "name": "stdlib",
            "purl": "pkg:golang/stdlib",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6600.json"
          },
          "ecosystem_specific": {
            "imports": [
              {
                "path": "html/template",
                "symbols": [
                  "Template.Execute",
                  "Template.ExecuteTemplate",
                  "nextJSCtx",
                  "tJS"
                ]
              }
            ]
          }
        }
      ],
      "modified": "2026-10-16T09:55:33.023061580Z",
      "provider": "osv",
      "references": [
        "https://go.dev/cl/840925",
        "https://go.dev/issue/81823",
        "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"
      ],
      "provider_metadata": {
        "url": "https://pkg.go.dev/vuln/GO-2026-6600",
        "review_status": "REVIEWED"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-97030",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 338674,
  "published_at": "2026-10-08T22:31:09+00:00"
}