CVE-2026-39826
published medium CVSS 3.1 · 6.1Escaper bypass leads to XSS in html/template
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | html/template0 to < 1.25.10 · 1.26.0-0 to < 1.26.3 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3308 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3313 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3319 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3323 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2026:22112 |
| Alpine Linux | edge | go | Fixed | 1.26.3-r0 | Package fix record |
Show 133 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-119 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-120 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-121 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-122 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-123 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-124 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-125 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-115 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-116 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-117 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-118 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-119 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-120 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-103 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-104 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-105 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-106 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-107 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1715 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1735 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1736 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1737 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1738 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1739 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1740 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1741 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1742 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1743 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1744 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1747 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1749 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1750 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1751 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1771 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | go-toolsetaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.25.10-1.module_el8.10.0+4187+c45165c4 | ALSA-2026:22112 |
| AlmaLinux | 9 | go-toolset | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-bin | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-docs | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-misc | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-race | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-src | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| AlmaLinux | 9 | golang-tests | Advisory build | 1.26.3-1.el9_8 | ALSA-2026:22121 |
| Alpine Linux | edge | rclone | Fixed | 1.74.1-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.25.10-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.26.3-r0 | Package fix record |
| Alpine Linux | v3.24 | rclone | Fixed | 1.74.1-r0 | Package fix record |
| Oracle Linux | 10 | go-toolsetx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golangaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golangx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-binaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-binx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-docsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-docsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-miscaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-miscx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-raceaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-racex86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-srcaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-srcx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-testsaarch64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 10 | golang-testsx86_64 | Advisory build | 0:1.26.5-1.0.1.el10_2 | ELSA-2026-22120 |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2026-22112 |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2026-22112 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-raceaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.9-1.0.1.module+el8.10.0+90898+1e3c34bb | ELSA-2026-22112 |
| Oracle Linux | 9 | go-toolsetaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | go-toolsetx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golangaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golangx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-binaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-binx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-docsaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-docsx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-miscaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-miscx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-raceaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-racex86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-srcaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-srcx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-testsaarch64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Oracle Linux | 9 | golang-testsx86_64 | Advisory build | 0:1.26.3-1.0.1.el9_8 | ELSA-2026-22121 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.26.3-4.el10_2 | RHSA-2026:22120 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.26.5-1.el10_0 | RHSA-2026:49702 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | html/template | 0 to < 1.25.10 (affected · semver)1.26.0-0 to < 1.26.3 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
2Go · cna
Escaper bypass leads to XSS in html/template
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be09aec95b5d3e024489a8f36afd6b5a75b1c0b58543bbb5c9f207e547eb71ed
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record