CVE-2026-39826
html/template: golang: html/template: Cross-site scripting due to incorrect script tag escaping
Overview
Description
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
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-116
Affected packages · 2
Operating systems · 1,516 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | delve | 1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd |
| 8 | go-toolset +7 | 1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb |
| 9 | go-toolset +7 | 1.26.3-1.0.1.el9_8 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | go | 1.26.3-1.ph5 |
Red Hat 6 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | conmon +21 | affected | — |
| 7 (satellite:el8) | yggdrasil-worker-forwarder | affected | — |
| 8 | etcd +31 | affected | — |
| 8 (container-tools:rhel8) | buildah +16 | affected | — |
| 8 (go-toolset:rhel8) | go-toolset +7 | 0:1.25.10-1.module+el8.10.0+24308+5c4a16b7 | RHSA-2026:22112 |
| 8 (go-toolset:rhel8) | delve | 0:1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2026:22112 |
5 more rows
SUSE Linux Enterprise 5 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-25-openssl +2 | 1.25.10-150000.1.24.1 | SUSE-SU-2026:2093-1 |
| 15.4 | go1-25 +2 | 1.25.10-150000.1.38.1 | SUSE-SU-2026:1862-1 |
| 15.4 | go1-26 +2 | 1.26.3-150000.1.12.1 | SUSE-SU-2026:1861-1 |
| 15.4 | go1-26-openssl +2 | 1.26.3-150000.1.9.1 | SUSE-SU-2026:2092-1 |
| 15.5 | go1-25-openssl +2 | 1.25.10-150000.1.24.1 | SUSE-SU-2026:2093-1 |
| 15.5 | go1-25 +2 | 1.25.10-150000.1.38.1 | SUSE-SU-2026:1862-1 |
14 more rows
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.25.10-1.module_el8.10.0+4187+c45165c4 |
| 8 (go-toolset:rhel8) | delve | 1.25.2-1.module_el8.10.0+4074+24330916 |
| 9 | go-toolset +7 | 1.26.3-1.el9_8 |
alpine 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | go | 1.25.10-r0 |
| 3.24 | go | 1.26.3-r0 |
| 3.24 | rclone | 1.74.1-r0 |
| edge | go | 1.26.3-r0 |
| edge | rclone | 1.74.1-r0 |
amazon linux 1 release · 16 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.11 |
| 2023 | golist +2 | 0.10.4-12.amzn2023.0.9 |
| 2023 | amazon-ecr-credential-helper | 0.12.0-3.amzn2023 |
| 2023 | soci-snapshotter | 0.13.0-1.amzn2023.0.3 |
| 2023 | golang-github-burntsushi-toml-test +3 | 0.2.0-8.amzn2023.0.3 |
| 2023 | ecs-init | 1.103.2-1.amzn2023 |
10 more rows
chainguard 1 release · 860 packages
| Release | Package | Fixed in |
|---|---|---|
| act +557 | not affected | |
| envoy-ratelimit-fips | 0.0.0_git20260508-r1 | |
| promxy-fips | 0.0.93-r15 | |
| k8s-metacollector-fips | 0.1.2-r3 | |
| reports-server | 0.1.6-r13 | |
| prometheus-adapter-0-10 +1 | 0.10.1-r36 |
854 more rows
debian 4 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
| 13 | golang-1-24 | affected |
| 14 | golang-1-24 | affected |
| 14 | golang-1-26 | 1.26.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 +1 | affected |
minimos 1 release · 432 packages
| Release | Package | Fixed in |
|---|---|---|
| pombump | 0.0.16-r8 | |
| tw | 0.0.47-r1 | |
| cargobump | 0.1.1-r4 | |
| aws-eks-pod-identity-agent +1 | 0.1.37-r1 | |
| gofumpt | 0.10.0-r1 | |
| dockerize | 0.11.0-r1 |
426 more rows
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-25 +3 | 1.25.10-1.1 | openSUSE-SU-2026:10723-1 |
| Tumbleweed | go1-26 +3 | 1.26.3-1.1 | openSUSE-SU-2026:10741-1 |
openSUSE Leap 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | go1-25 +3 | 1.25.10-160000.1.1 | openSUSE-SU-2026:20763-1 |
| 16.0 | go1-25-openssl +2 | 1.25.12-160000.1.1 | openSUSE-SU-2026:21319-1 |
| 16.0 | go1-26 +3 | 1.26.3-160000.1.1 | openSUSE-SU-2026:20762-1 |
| 16.0 | go1-26-openssl +2 | 1.26.4-160000.1.1 | openSUSE-SU-2026:21254-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | go-toolset +7 | 1.26.3-4.el10_2 |
| 8 (go-toolset:rhel8) | go-toolset +7 | 1.25.10-1.module+el8.10.0+40200+0fd0f175 |
| 8 (go-toolset:rhel8) | delve | 1.25.2-1.module+el8.10.0+40035+ee0a7047 |
| 9 | go-toolset +7 | 1.26.3-1.el9_8 |
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
| 13 | rootio-golang-1-24 | affected |
wolfi 1 release · 147 packages
| Release | Package | Fixed in |
|---|---|---|
| act +85 | not affected | |
| step-issuer | 0.10.2-r10 | |
| xeol | 0.10.8-r38 | |
| prometheus-adapter | 0.12.0-r25 | |
| karma | 0.129-r3 | |
| undock | 0.13.0-r1 |
141 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22112
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22121
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-39826
- bugzilla.redhat.com https://bugzilla.redhat.com/2467822
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467809
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467810
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467811
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467813
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467815
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467820
Show all 37 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467822
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467823
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467825
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467826
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2467827
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33811
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33814
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39817
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39819
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39820
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39823
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39825
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39826
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39836
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42499
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42501
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-22121.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:22112
- go.dev https://go.dev/cl/771180
- go.dev https://go.dev/issue/78981
- groups.google.com https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-39826.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-22121.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-39826
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-4980
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-39826
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.