Read the docs
TI-2026-24818 Aliases CVE-2026-32289GHSA-7mr4-xjxg-34g6

JsBraceDepth Context Tracking Bugs (XSS) in html/template

Priority LOW 27CWE-79Published · Updated

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: 6 fixed, 67 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-79.

Summary

Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00295 22nd percentileScored 2026-11-07
Fix Partial html/template (Go standard library): 1.25.9, 1.26.2Red Hat: 7 advisoriesRed Hat: 6 fixed, 67 without a fix

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

VendorProductAffected versionsFixed inStatusSource
Go standard libraryhtml/templatebefore 1.25.9; 1.26.0-0 to before 1.26.21.25.9, 1.26.2Patch availableCNA
  • html/template VendorGo standard library Affected before 1.25.9; 1.26.0-0 to before 1.26.2 Fixed in 1.25.9, 1.26.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*before 1.25.9; 1.26.0 to before 1.26.2VulnerableGo standard library
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions before 1.25.9; 1.26.0 to before 1.26.2 Vulnerable ·Go standard library

Remediation

  • Fix · CNA html/template (Go standard library) Fixed in 1.25.9, 1.26.2

Red Hat 7 advisories

  • RHSA-2026:91249 Released 2026-10-27 · Red Hat rating Critical
    Red Hat AI Base Images 3.5.5 (Neuron)
    • Red Hat OpenShift AI 3.5 registry.redhat.io/rhai/base-image-neuron-rhel9
  • RHSA-2026:91248 Released 2026-10-27 · Red Hat rating Critical
    Red Hat AI Base Images 3.4.6 (Neuron)
    • Red Hat OpenShift AI 3.4 registry.redhat.io/rhai/base-image-neuron-rhel9
  • RHSA-2026:22112 Released 2026-06-01 · Red Hat rating Important
    go-toolset:rhel8 security update
    • Red Hat Enterprise Linux AppStream (v. 8) delve-1.25.2-1.module+el8.10.0+23746+9db33b5e.aarch64::go-toolset:rhel8, delve-1.25.2-1.module+el8.10.0+23746+9db33b5e.ppc64le::go-toolset:rhel8, delve-1.25.2-1.module+el8.10.0+23746+9db33b5e.src::go-toolset:rhel8 +22
Show 4 more Red Hat advisories
  • RHSA-2026:10219 Released 2026-04-24 · Red Hat rating Important
    golang security update
    • Red Hat Enterprise Linux AppStream (v. 9) go-toolset-1.25.9-1.el9_7, golang-1.25.9-1.el9_7, golang-bin-1.25.9-1.el9_7 +5
  • RHSA-2026:10217 Released 2026-04-23 · Red Hat rating Important
    golang security update
    • Red Hat Enterprise Linux AppStream (v. 10) go-toolset-1.25.9-3.el10_1, golang-1.25.9-3.el10_1, golang-bin-1.25.9-3.el10_1 +5
  • RHSA-2026:7385 Released 2026-04-10 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.25-1.25.9-1.hum1@aarch64, golang1.25-1.25.9-1.hum1@src, golang1.25-1.25.9-1.hum1@x86_64 +12
  • RHSA-2026:7291 Released 2026-04-09 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images golang1.26-1.26.2-1.hum1@aarch64, golang1.26-1.26.2-1.hum1@src, golang1.26-1.26.2-1.hum1@x86_64 +12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Assisted Installer for Red Hat OpenShift Container Platform 2AffectedNo fix yet: Fix deferred
Builds for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Compliance OperatorAffectedNo fix yet: Fix deferred
Confidential Compute AttestationAffectedNo fix yet: Fix deferred
Cryostat 4AffectedNo fix yet: Fix deferred
Custom Metric Autoscaler operator for Red Hat OpenshiftAffectedNo fix yet: Fix deferred
Deployment Validation OperatorAffectedNo fix yet: Fix deferred
External Secrets Operator for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
ExternalDNS OperatorAffectedNo fix yet: Fix deferred
File Integrity OperatorAffectedNo fix yet: Fix deferred
Gatekeeper 3AffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Logical Volume Manager StorageAffectedNo fix yet: Fix deferred
Migration Toolkit for Applications 8AffectedNo fix yet: Fix deferred
Migration Toolkit for ContainersAffectedNo fix yet: Fix deferred
Multiarch Tuning OperatorAffectedNo fix yet: Fix deferred
Multicluster Engine for KubernetesAffectedNo fix yet: Fix deferred
Multicluster Global HubAffectedNo fix yet: Fix deferred
Network Observability OperatorAffectedNo fix yet: Fix deferred
OpenShift API for Data ProtectionAffectedNo fix yet: Fix deferred
OpenShift Developer Tools and ServicesAffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
OpenShift PipelinesAffectedNo fix yet: Fix deferred
OpenShift ServerlessAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 2AffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Power monitoring for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet: Fix deferred
Red Hat Advanced Cluster Security 4AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 5AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 6AffectedNo fix yet: Fix deferred
Red Hat Certification Program for Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Edge Manager 1AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat JBoss Web Server 6AffectedNo fix yet: Fix deferred
Red Hat Lightspeed for Runtimes OperatorAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Cluster Manager CLIAffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev Workspaces OperatorAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift distributed tracing 3AffectedNo fix yet: Fix deferred
Red Hat OpenShift for Windows ContainersAffectedNo fix yet: Fix deferred
Red Hat OpenShift on AWSAffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Openshift Data Foundation 4AffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Service Interconnect 1AffectedNo fix yet: Fix deferred
Red Hat Service Interconnect 2AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
Security Profiles OperatorAffectedNo fix yet: Fix deferred
Zero Trust Workload Identity ManagerAffectedNo fix yet: Fix deferred
Zero Trust Workload Identity Manager - Tech PreviewAffectedNo fix yet: Fix deferred
cert-manager Operator for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:10217
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2026:22112
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:10219
Red Hat Hardened ImagesFixed RHSA-2026:7291, RHSA-2026:7385
Red Hat OpenShift AI 3.4Fixed RHSA-2026:91248
Red Hat OpenShift AI 3.5Fixed RHSA-2026:91249

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32289
  2. 2026-10-03 Alias added: GHSA-7mr4-xjxg-34g6
  3. 2026-10-07 Fix available: RHSA-2026:10217 · Red Hat
  4. 2026-10-07 Fix available: RHSA-2026:10219 · Red Hat
  5. 2026-10-07 Fix available: RHSA-2026:22112 · Red Hat
  6. 2026-10-07 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 8) · Red Hat
  7. 2026-10-27 Affected versions changed · Red Hat
  8. 2026-10-30 Fix available: RHSA-2026:91248 · Red Hat
  9. 2026-10-30 Fix available: RHSA-2026:91249 · Red Hat
  10. 2026-10-30 Fix available: Red Hat OpenShift AI 3.4, Red Hat OpenShift AI 3.5 · Red Hat

References

  • 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-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-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
  • TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
  • TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
See all 170 →

Sources