---
id: CVE-2026-97030
title: >-
  A trusted template author may have previously written a valid template wherein
  the use of the 'yield' keyword would not be correctly escaped
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.
severity: none
published: '2026-10-08'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T23:17:05.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97030'
references:
  - url: 'https://go.dev/cl/840925'
    label: security@golang.org
  - url: 'https://go.dev/issue/81823'
    label: security@golang.org
  - url: 'https://groups.google.com/g/golang-announce/c/U2fTuyDJznI'
    label: security@golang.org
  - url: 'https://pkg.go.dev/vuln/GO-2026-6600'
    label: security@golang.org
tags:
  - nvd
ingestedAt: '2026-10-09T00:19:50.980Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
