Improper escaping of yield keyword in Go html/template
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 19 fixed, 78 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
The Go standard library html/template package before 1.26.9, and from 1.27.0-0 before 1.27.2, does not correctly escape valid uses of the yield keyword in templates. A trusted template author may have written a valid template where yield was not escaped correctly, which can enable cross-site scripting (CWE-79). The fix now escapes valid keyword uses and leaves non-keyword uses unescaped.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | html/template | before 1.26.9; 1.27.0-0 to before 1.27.2 | 1.26.9, 1.27.2 | Patch available | CNA |
- html/template VendorGo standard library Affected before 1.26.9; 1.27.0-0 to before 1.27.2 Fixed in 1.26.9, 1.27.2 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | — | — | Go standard library |
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions — — ·Go standard library
Remediation
Upgrade Go to 1.26.9 or 1.27.2, the fixed versions of html/template. Red Hat fixes it in RHSA-2026:86093, RHSA-2026:86196, RHSA-2026:86203, RHSA-2026:87040, RHSA-2026:87041, RHSA-2026:87042, RHSA-2026:87043, RHSA-2026:87245, RHSA-2026:87246, RHSA-2026:90994, RHSA-2026:92451, RHSA-2026:92480, RHSA-2026:92497, RHSA-2026:92509 and RHSA-2026:92516. Red Hat lists AWS Load Balancer Operator and other products as affected without a fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA html/template (Go standard library) Fixed in 1.26.9, 1.27.2
Red Hat 17 advisories
- RHSA-2026:92516 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 3.4.4
- Red Hat OpenShift Service Mesh 3.4 registry.redhat.io/openshift-service-mesh/istio-cni-rhel9, registry.redhat.io/openshift-service-mesh/istio-pilot-rhel9, registry.redhat.io/openshift-service-mesh/istio-proxyv2-rhel9 +1
- RHSA-2026:92509 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 3.3.9
- Red Hat OpenShift Service Mesh 3.3 registry.redhat.io/openshift-service-mesh/istio-cni-rhel9, registry.redhat.io/openshift-service-mesh/istio-pilot-rhel9, registry.redhat.io/openshift-service-mesh/istio-proxyv2-rhel9 +1
- RHSA-2026:92497 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 3.2.11
- Red Hat OpenShift Service Mesh 3.2 registry.redhat.io/openshift-service-mesh/istio-cni-rhel9, registry.redhat.io/openshift-service-mesh/istio-pilot-rhel9, registry.redhat.io/openshift-service-mesh/istio-proxyv2-rhel9 +1
Show 14 more Red Hat advisories
- RHSA-2026:92480 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 3.1.14
- Red Hat OpenShift Service Mesh 3.1 registry.redhat.io/openshift-service-mesh/istio-cni-rhel9, registry.redhat.io/openshift-service-mesh/istio-pilot-rhel9, registry.redhat.io/openshift-service-mesh/istio-proxyv2-rhel9 +1
- RHSA-2026:92451 Released 2026-10-29 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 3.0.17
- Red Hat OpenShift Service Mesh 3.0 registry.redhat.io/openshift-service-mesh/istio-cni-rhel9, registry.redhat.io/openshift-service-mesh/istio-pilot-rhel9, registry.redhat.io/openshift-service-mesh/istio-proxyv2-rhel9 +1
- RHSA-2026:90994 Released 2026-10-27 · Red Hat rating Importantgo-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) delve-1.26.1-1.module+el8.4.0+25181+7ce5b91c.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.4.0+25181+7ce5b91c.x86_64::go-toolset:rhel8, go-toolset-1.26.10-2.module+el8.4.0+25201+9a419e96.x86_64::go-toolset:rhel8 +8
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) delve-1.26.1-1.module+el8.4.0+25181+7ce5b91c.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.4.0+25181+7ce5b91c.x86_64::go-toolset:rhel8, go-toolset-1.26.10-2.module+el8.4.0+25201+9a419e96.x86_64::go-toolset:rhel8 +8
- RHSA-2026:87245 Released 2026-10-21 · Red Hat rating Importantgo-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) delve-1.26.1-1.module+el8.8.0+24781+86ad105d.ppc64le::go-toolset:rhel8, delve-1.26.1-1.module+el8.8.0+24781+86ad105d.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.8.0+24781+86ad105d.x86_64::go-toolset:rhel8 +13
- Red Hat Enterprise Linux AppStream TUS (v.8.8) delve-1.26.1-1.module+el8.8.0+24781+86ad105d.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.8.0+24781+86ad105d.x86_64::go-toolset:rhel8, go-toolset-1.26.10-4.module+el8.8.0+25113+a148ecc0.x86_64::go-toolset:rhel8 +8
- RHSA-2026:87246 Released 2026-10-21 · Red Hat rating Importantgo-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) delve-1.26.1-1.module+el8.6.0+24782+a062e766.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.6.0+24782+a062e766.x86_64::go-toolset:rhel8, go-toolset-1.26.10-4.module+el8.6.0+25114+90ecdb41.x86_64::go-toolset:rhel8 +8
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) delve-1.26.1-1.module+el8.6.0+24782+a062e766.src::go-toolset:rhel8, delve-1.26.1-1.module+el8.6.0+24782+a062e766.x86_64::go-toolset:rhel8, go-toolset-1.26.10-4.module+el8.6.0+25114+90ecdb41.x86_64::go-toolset:rhel8 +8
- RHSA-2026:87043 Released 2026-10-21 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) go-toolset-1.26.10-1.el9_6, golang-1.26.10-1.el9_6, golang-bin-1.26.10-1.el9_6 +5
- RHSA-2026:87042 Released 2026-10-21 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) go-toolset-1.26.10-1.el9_4, golang-1.26.10-1.el9_4, golang-bin-1.26.10-1.el9_4 +5
- RHSA-2026:87041 Released 2026-10-21 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) go-toolset-1.26.10-1.el9_2, golang-1.26.10-1.el9_2, golang-bin-1.26.10-1.el9_2 +5
- RHSA-2026:87040 Released 2026-10-21 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) go-toolset-1.26.10-1.el10_0, golang-1.26.10-1.el10_0, golang-bin-1.26.10-1.el10_0 +5
- RHSA-2026:86196 Released 2026-10-20 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) go-toolset-1.26.10-1.el9_8, golang-1.26.10-1.el9_8, golang-bin-1.26.10-1.el9_8 +5
- RHSA-2026:86203 Released 2026-10-20 · Red Hat rating Importantgo-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) delve-1.26.1-1.module+el8.10.0+24516+40554724.aarch64::go-toolset:rhel8, delve-1.26.1-1.module+el8.10.0+24516+40554724.ppc64le::go-toolset:rhel8, delve-1.26.1-1.module+el8.10.0+24516+40554724.src::go-toolset:rhel8 +22
- RHSA-2026:86093 Released 2026-10-20 · Red Hat rating Importantgolang security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) go-toolset-1.26.10-1.el10_2, golang-1.26.10-1.el10_2, golang-bin-1.26.10-1.el10_2 +5
- RHSA-2026:86029 Released 2026-10-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.27-1.27.3-1.hum1@aarch64, golang1.27-1.27.3-1.hum1@s390x, golang1.27-1.27.3-1.hum1@src +16
- RHSA-2026:85899 Released 2026-10-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.26-1.26.10-0.1.hum1@aarch64, golang1.26-1.26.10-0.1.hum1@s390x, golang1.26-1.26.10-0.1.hum1@src +16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Go standard library html/template 1.26.9, 1.27.2
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-69836 Incorrect context tracking in Go html/template template literalsPriority LOW 27
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| AWS Load Balancer Operator | Affected | — |
| Ansible Automation Orchestrator 2026 | Affected | — |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | Affected | — |
| Builds for Red Hat OpenShift | Affected | — |
| Compliance Operator | Affected | — |
| Confidential Compute Attestation | Affected | — |
| Cost Management Metrics Operator | Affected | — |
| Cost Management On Premise | Affected | — |
| Cryostat 4 | Affected | — |
| Custom Metric Autoscaler operator for Red Hat Openshift | Affected | — |
| DPU kit for NVIDIA | Affected | — |
| Deployment Validation Operator | Affected | — |
| Exploit Intelligence | Affected | — |
| External Secrets Operator for Red Hat OpenShift | Affected | — |
| File Integrity Operator | Affected | — |
| Gatekeeper 3 | Affected | — |
| Helm CLI for Red Hat OpenShift | Affected | — |
| Logging Subsystem for Red Hat OpenShift | Affected | — |
| Logical Volume Manager Storage | Affected | — |
| Migration Toolkit for Applications 8 | Affected | — |
| Migration Toolkit for Containers | Affected | — |
| Multiarch Tuning Operator | Affected | — |
| Multicluster Engine for Kubernetes | Affected | — |
| Multicluster Global Hub | Affected | — |
| Multicluster Global Hub 5 | Affected | — |
| Network Observability Operator | Affected | — |
| Node Maintenance Operator | Affected | — |
| OpenShift API for Data Protection | Affected | — |
| OpenShift Developer Tools and Services | Affected | No fix planned: Out of support scope |
| OpenShift Lightspeed | Affected | — |
| OpenShift Pipelines | Affected | No fix yet: Fix deferred |
| OpenShift Serverless | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 3 | Affected | No fix yet |
| Red Hat 3scale API Management Platform 2 | Affected | — |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | — |
| Red Hat Advanced Cluster Security 4 | Affected | — |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 5 | Affected | — |
| Red Hat Ceph Storage 6 | Affected | — |
| Red Hat Ceph Storage 7 | Affected | — |
| Red Hat Ceph Storage 8 | Affected | — |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Connectivity Link 1 | Affected | — |
| Red Hat Developer Hub 1 | Affected | — |
| Red Hat Edge Manager 1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat Hardened Images | Affected | No fix planned: Will not fix |
| Red Hat Lightspeed for Runtimes Operator | Affected | — |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
| Red Hat OpenShift Cluster Manager CLI | Affected | — |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | — |
| Red Hat OpenShift Dev Workspaces Operator | Affected | — |
| Red Hat OpenShift GitOps | Affected | — |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 5 | Affected | — |
| Red Hat OpenShift distributed tracing 3 | Affected | — |
| Red Hat OpenShift for Windows Containers | Affected | — |
| Red Hat OpenShift on AWS | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | — |
| Red Hat OpenStack Platform 17.1 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
| Red Hat Openshift Data Foundation 4 | Affected | — |
| Red Hat Quay 3 | Affected | — |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Service Interconnect 1 | Affected | No fix planned: Out of support scope |
| Red Hat Service Interconnect 2 | Affected | No fix yet: Fix deferred |
| Red Hat Trusted Artifact Signer | Affected | — |
| Security Profiles Operator | Affected | — |
| Zero Trust Workload Identity Manager | Affected | — |
| Zero Trust Workload Identity Manager - Tech Preview | Affected | — |
| cert-manager Operator for Red Hat OpenShift | Affected | — |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:86093 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:86203 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:86196 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:90994 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:87246 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:87245 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:87041 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:87042 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:87040 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:87043 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:90994 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) | Fixed | RHSA-2026:87246 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:87245 |
| Red Hat Hardened Images | Fixed | RHSA-2026:85899, RHSA-2026:86029 |
| Red Hat OpenShift Service Mesh 3.0 | Fixed | RHSA-2026:92451 |
| Red Hat OpenShift Service Mesh 3.1 | Fixed | RHSA-2026:92480 |
| Red Hat OpenShift Service Mesh 3.2 | Fixed | RHSA-2026:92497 |
| Red Hat OpenShift Service Mesh 3.3 | Fixed | RHSA-2026:92509 |
| Red Hat OpenShift Service Mesh 3.4 | Fixed | RHSA-2026:92516 |
Not affected: 6 products
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Service Mesh 3.0
- Red Hat OpenShift Service Mesh 3.1
- Red Hat OpenShift Service Mesh 3.2
- Red Hat OpenShift Service Mesh 3.3
- Red Hat OpenShift Service Mesh 3.4
Timeline
- 2026-10-09 Threatist record created from CVE-2026-97030
- 2026-10-16 Alias added: GHSA-22jx-p735-qcpm
- 2026-10-16 CVSS score added · CISA ADP
- 2026-10-16 Weakness changed · CISA ADP
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-23 Fix available: RHSA-2026:87246 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:85899 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:86029 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:86093 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:86196 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:86203 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:87042 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:87040 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:87041 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:87043 · Red Hat
- 2026-10-23 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux AppStream (v. 9) +7 · Red Hat
- 2026-10-23 CVSS score added · Red Hat
- 2026-10-24 Fix available: RHSA-2026:87245 · Red Hat
- 2026-10-24 Fix available: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · Red Hat
- 2026-10-29 Fix available: RHSA-2026:90994 · Red Hat
- 2026-10-29 Fix available: Red Hat Enterprise Linux AppStream AUS (v.8.4), Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92451 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92509 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92497 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92480 · Red Hat
- 2026-10-30 Fix available: Red Hat OpenShift Service Mesh 3.0, Red Hat OpenShift Service Mesh 3.1, Red Hat OpenShift Service Mesh 3.2 +1 · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-31 Fix available: RHSA-2026:92516 · Red Hat
- 2026-10-31 Fix available: Red Hat OpenShift Service Mesh 3.4 · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More Go standard library vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-24278 HTTP/2 CONTINUATION flood in net/http CVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2024-16309 Panic when parsing invalid palette-color images in golang.org/x/image CVSS 3.1HIGH 7.5
- TI-2022-20112 Request smuggling due to improper request handling in golang.org/x/net/http2/h2c CVSS 3.1HIGH 7.5
Sources
- CVE-2026-97030 · CVE Program
- CVE-2026-97030 · NVD
- FIRST EPSS
- GHSA-22jx-p735-qcpm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-97030 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences