CVE-2023-39319
publishedImproper handling of special tags within script contexts in html/template
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | html/template0 to < 1.20.8 · 1.21.0-0 to < 1.21.1 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2313 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-367 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | aardvark-dns | Advisory build | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| Alpine Linux | edge | go | Fixed | 1.21.1-r0 | Package fix record |
| Oracle Linux | 8 | aardvark-dnsaarch64 · container-tools · 4.0b | Advisory build | 2:1.0.1-38.0.1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| AlmaLinux | 8 | buildah | Advisory build | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | buildah-tests | Advisory build | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | buildah-tests | Advisory build | 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f | ALSA-2024:0121 |
| AlmaLinux | 8 | cockpit-podman | Advisory build | 46-1.module_el8.7.0+3344+5bcd850f | ALSA-2024:0121 |
| AlmaLinux | 8 | conmon | Advisory build | 2:2.1.4-2.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | conmon | Advisory build | 2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f | ALSA-2024:0121 |
| AlmaLinux | 8 | container-selinux | Advisory build | 2:2.205.0-3.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | containernetworking-plugins | Advisory build | 1:1.1.1-6.module_el8.9.0+3711+04fcca5e | ALSA-2024:0121 |
| AlmaLinux | 8 | containers-common | Advisory build | 2:1-38.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | crit | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | crit | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | criu | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | criu | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | criu-devel | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | criu-devel | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | criu-libs | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | criu-libs | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | crun | Advisory build | 1.8.7-1.module_el8.9.0+3683+33eb0feb | ALSA-2024:0121 |
| AlmaLinux | 8 | fuse-overlayfs | Advisory build | 1.9-2.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | libslirp | Advisory build | 4.4.0-1.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | libslirp | Advisory build | 4.4.0-1.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | libslirp-devel | Advisory build | 4.4.0-1.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | libslirp-devel | Advisory build | 4.4.0-1.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | netavark | Advisory build | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | oci-seccomp-bpf-hook | Advisory build | 1.2.5-2.module_el8.8.0+3468+16b86c82 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-catatonit | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-docker | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-gvproxy | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-plugins | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-remote | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | podman-tests | Advisory build | 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | python3-criu | Advisory build | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2024:0121 |
| AlmaLinux | 8 | python3-criu | Advisory build | 3.15-3.module_el8.6.0+3137+d33c3efb | ALSA-2024:0121 |
| AlmaLinux | 8 | python3-podman | Advisory build | 4.0.0-2.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | python3-podman | Advisory build | 4.0.0-2.module_el8.9.0+3711+04fcca5e | ALSA-2024:0121 |
| AlmaLinux | 8 | runc | Advisory build | 1:1.1.5-2.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | runc | Advisory build | 1:1.1.5-2.module_el8.9.0+3687+dcd7ef8f | ALSA-2024:0121 |
| AlmaLinux | 8 | skopeo | Advisory build | 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | skopeo-tests | Advisory build | 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1 | ALSA-2024:0121 |
| AlmaLinux | 8 | slirp4netns | Advisory build | 1.1.8-3.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | toolbox | Advisory build | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | toolbox-tests | Advisory build | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 8 | udica | Advisory build | 0.2.6-4.module_el8.9.0+3627+db8ec155 | ALSA-2024:0121 |
| AlmaLinux | 9 | buildah | Advisory build | 1:1.31.3-2.el9_3 | ALSA-2023:7764 |
| AlmaLinux | 9 | buildah-tests | Advisory build | 1:1.31.3-2.el9_3 | ALSA-2023:7764 |
| AlmaLinux | 9 | containernetworking-plugins | Advisory build | 1:1.3.0-6.el9_3 | ALSA-2023:7766 |
| AlmaLinux | 9 | podman | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | podman-docker | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | podman-gvproxy | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | podman-plugins | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | podman-remote | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | podman-tests | Advisory build | 2:4.6.1-7.el9_3 | ALSA-2023:7765 |
| AlmaLinux | 9 | skopeo | Advisory build | 2:1.13.3-3.el9_3 | ALSA-2023:7762 |
| AlmaLinux | 9 | skopeo-tests | Advisory build | 2:1.13.3-3.el9_3 | ALSA-2023:7762 |
| AlmaLinux | 9 | toolbox | Advisory build | 0.0.99.5-2.el9 | ALSA-2024:2160 |
| AlmaLinux | 9 | toolbox-tests | Advisory build | 0.0.99.5-2.el9 | ALSA-2024:2160 |
| Alpine Linux | v3.18 | go | Fixed | 1.20.8-r0 | Package fix record |
| Alpine Linux | v3.19 | go | Fixed | 1.21.1-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.21.1-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.21.1-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.21.1-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.21.1-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.21.1-r0 | Package fix record |
| Oracle Linux | 8 | aardvark-dnsaarch64 · container-tools · ol8 is enabled | Advisory build | 2:1.10.0-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | aardvark-dnsx86_64 · container-tools · 4.0b | Advisory build | 2:1.0.1-38.0.1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | aardvark-dnsx86_64 · container-tools · ol8 is enabled | Advisory build | 2:1.10.0-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | buildahaarch64 · container-tools · 4.0b | Advisory build | 1:1.24.6-7.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | buildahaarch64 · container-tools · ol8 is enabled | Advisory build | 2:1.33.6-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | buildahx86_64 · container-tools · 4.0b | Advisory build | 1:1.24.6-7.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | buildahx86_64 · container-tools · ol8 is enabled | Advisory build | 2:1.33.6-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | buildah-testsaarch64 · container-tools · 4.0b | Advisory build | 1:1.24.6-7.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | buildah-testsaarch64 · container-tools · ol8 is enabled | Advisory build | 2:1.33.6-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | buildah-testsx86_64 · container-tools · 4.0b | Advisory build | 1:1.24.6-7.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | buildah-testsx86_64 · container-tools · ol8 is enabled | Advisory build | 2:1.33.6-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | cockpit-podmanaarch64 · container-tools · 4.0b | Advisory build | 0:46-1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | cockpit-podmanaarch64 · container-tools · ol8 is enabled | Advisory build | 0:84.1-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | cockpit-podmanx86_64 · container-tools · 4.0b | Advisory build | 0:46-1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | cockpit-podmanx86_64 · container-tools · ol8 is enabled | Advisory build | 0:84.1-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | conmonaarch64 · container-tools · 4.0b | Advisory build | 2:2.1.4-2.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | conmonaarch64 · container-tools · ol8 is enabled | Advisory build | 3:2.1.10-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | conmonx86_64 · container-tools · 4.0b | Advisory build | 2:2.1.4-2.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | conmonx86_64 · container-tools · ol8 is enabled | Advisory build | 3:2.1.10-1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | container-selinuxaarch64 · container-tools · 4.0b | Advisory build | 2:2.205.0-3.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | container-selinuxaarch64 · container-tools · ol8 is enabled | Advisory build | 2:2.229.0-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | container-selinuxx86_64 · container-tools · 4.0b | Advisory build | 2:2.205.0-3.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | container-selinuxx86_64 · container-tools · ol8 is enabled | Advisory build | 2:2.229.0-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | containernetworking-pluginsaarch64 · container-tools · 4.0b | Advisory build | 1:1.1.1-6.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | containernetworking-pluginsaarch64 · container-tools · ol8 is enabled | Advisory build | 1:1.4.0-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | containernetworking-pluginsx86_64 · container-tools · 4.0b | Advisory build | 1:1.1.1-6.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | containernetworking-pluginsx86_64 · container-tools · ol8 is enabled | Advisory build | 1:1.4.0-2.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | containers-commonaarch64 · container-tools · 4.0b | Advisory build | 2:1-38.0.1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | containers-commonaarch64 · container-tools · ol8 is enabled | Advisory build | 2:1-81.0.1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | containers-commonx86_64 · container-tools · 4.0b | Advisory build | 2:1-38.0.1.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | containers-commonx86_64 · container-tools · ol8 is enabled | Advisory build | 2:1-81.0.1.module+el8.10.0+90298+77a9814d | ELSA-2024-2988 |
| Oracle Linux | 8 | critaarch64 · container-tools · 4.0b | Advisory build | 0:3.15-3.module+el8.9.0+90119+2f9ef15c | ELSA-2024-0121 |
| Oracle Linux | 8 | critaarch64 · container-tools · ol8 is enabled | Advisory build | 0:3.18-4.module+el8.9.0+90147+a4870853 | ELSA-2024-2988 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
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.20.8 (affected · semver)1.21.0-0 to < 1.21.1 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6Provider assertions
3Go · cna
Improper handling of special tags within script contexts in html/template
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1c8dff7fb68a2ed6e87246f03ac2041d88960ff9d2a60ebf7c4c5dd9d885bf92
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record