CVE-2026-94448
html/template: golang: golang: cross-site scripting via consecutive expressions in JavaScript template literals
Overview
Description
When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
Operating systems · 2,182 fixes
Red Hat 5 releases · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | compat-sap-c-11 +1 | affected |
| 7 | conmon +17 | investigating |
| 8 | compat-sap-c-11 +27 | affected |
| 8 | etcd | eol |
| 8 | libarrow +4 | investigating |
| 8 (container-tools:rhel8) | buildah +16 | affected |
15 more rows
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-26-openssl +2 | 1.26.10-150000.1.21.2 | SUSE-SU-2026:4867-1 |
| 15.4 | go1-26 +2 | 1.26.9-150000.1.33.1 | SUSE-SU-2026:4629-1 |
| 15.4 | go1-27 +2 | 1.27.2-150000.1.12.1 | SUSE-SU-2026:4625-1 |
| 15.5 | go1-26-openssl +2 | 1.26.10-150000.1.21.2 | SUSE-SU-2026:4867-1 |
| 15.5 | go1-26 +2 | 1.26.9-150000.1.33.1 | SUSE-SU-2026:4629-1 |
| 15.5 | go1-27 +2 | 1.27.2-150000.1.12.1 | SUSE-SU-2026:4625-1 |
8 more rows
alma 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-docs +3 | 1.26.10-1.el10_2.alma.1 |
| 8 (go-toolset:rhel8) | delve | 1.26.1-1.module_el8.10.0+4307+6e4cbc60 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.26.10-1.module_el8.10.0+4307+6e4cbc60 |
| 9 | go-toolset +7 | 1.26.10-1.el9_8 |
alpine 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.24 | go | 1.26.9-r0 |
| edge | go | 1.27.2-r0 |
amazon linux 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.13 |
| 2023 | amazon-ecr-credential-helper | 0.12.0-5.amzn2023 |
| 2023 | soci-snapshotter | 0.16.0-1.amzn2023.0.2 |
| 2023 | golang +6 | 1.26.9-1.amzn2023.0.1 |
| 2023 | docker +2 | 25.0.18-1.amzn2023.0.2 |
| 2023 | skopeo +3 | 2:1.22.2-1.amzn2023.0.2 |
1 more row
chainguard 1 release · 935 packages
| Release | Package | Fixed in |
|---|---|---|
| access-log-exporter-fips +756 | not affected | |
| envoy-ratelimit-fips | 0.0.0_git20261009-r1 | |
| qemu-guesthelper | 0.0.1-r19 | |
| k8s-metacollector +1 | 0.1.4-r1 | |
| reports-server | 0.1.7-r17 | |
| prometheus-postgres-exporter-0-10 | 0.10.1-r46 |
929 more rows
debian 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | golang-1-19 | affected |
| 13 | golang-1-24 | affected |
| 14 | golang-1-24 | affected |
| 14 | golang-1-26 | 1.26.9-1 |
| 14 | golang-1-27 | 1.27.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 +1 | affected |
minimos 1 release · 1,036 packages
| Release | Package | Fixed in |
|---|---|---|
| kube-vip-cloud-provider +1 | 0.0.13-r1 | |
| pombump | 0.0.16-r13 | |
| local-path-provisioner +1 | 0.0.37-r3 | |
| tw | 0.0.53-r1 | |
| promxy +1 | 0.0.97-r2 | |
| cargobump | 0.1.1-r10 |
1,030 more rows
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-26 +2 | 1.26.9-1.1 | openSUSE-SU-2026:12093-1 |
| Tumbleweed | go1-27 +2 | 1.27.2-1.1 | openSUSE-SU-2026:12101-1 |
| Tumbleweed | rclone +2 | 1.75.2-1.1 | openSUSE-SU-2026:12112-1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | go1-26 +2 | 1.26.9-160000.1.1 | openSUSE-SU-2026:22095-1 |
| 16.0 | go1-27 +2 | 1.27.2-160000.1.1 | openSUSE-SU-2026:22093-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | go-toolset +7 | 1.26.10-1.el10_2 |
| 8 (go-toolset:rhel8) | delve | 1.26.1-1.module+el8.10.0+40244+e7cb3ff8 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.26.10-1.module+el8.10.0+40387+102242d5 |
| 9 | go-toolset +7 | 1.26.10-1.el9_8 |
wolfi 1 release · 148 packages
| Release | Package | Fixed in |
|---|---|---|
| actions-runner-controller +150 | not affected | |
| step-issuer | 0.12.0-r14 | |
| kserve-rest-proxy | 0.12.0-r38 | |
| prometheus-adapter | 0.12.0-r39 | |
| kserve-modelmesh-serving | 0.12.0-r45 | |
| hubble-ui | 0.13.6-r1 |
142 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86196
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:86203
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-94448
- bugzilla.redhat.com https://bugzilla.redhat.com/2548334
- bugzilla.redhat.com https://bugzilla.redhat.com/2548336
- bugzilla.redhat.com https://bugzilla.redhat.com/2548344
- bugzilla.redhat.com https://bugzilla.redhat.com/2556068
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548334
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548335
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548336
Show all 46 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548337
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548338
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548339
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548341
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548342
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548343
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548344
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548345
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548346
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2548347
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2556068
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-111943
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-56866
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78659
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78660
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78663
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78667
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-78669
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-94439
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-94440
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-94444
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-94447
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-94448
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-97030
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-97031
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-97032
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-86196.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:86203
- go.dev https://go.dev/cl/839866
- go.dev https://go.dev/issue/81821
- groups.google.com https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-94448
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-6599
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-94448
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.