Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-39318

published

Improper handling of HTML-like comments in script contexts in html/template

Published
08 Sep 2023, 16:13:24 UTC
Updated
13 Feb 2025, 17:02:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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 properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

56

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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') (Go · cna)

References

6

Provider assertions

3

Go · cna

Improper handling of HTML-like comments in script contexts in html/template

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d1b996676ecc82ce50ee738bfee38a0ebcd5113cdc839580802d705fa4f6bc1b
Ingested
23 Sep 2026, 08:10:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected