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-24540

published critical CVSS 3.1 · 9.8

Improper handling of JavaScript whitespace in html/template

Published
11 May 2023, 15:29:31 UTC
Updated
24 Jan 2025, 16:45:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Go standard library — html/template0 to < 1.19.9 · 1.20.0-0 to < 1.20.4 · Other versions: unaffected Affected Not stated Go
Amazon Linux AL2 Release evaluationALAS2-2023-2163 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2-2023-2303 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2DOCKER-2023-029 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2DOCKER-2023-031 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2ECS-2023-019 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 aardvark-dns Advisory build 2:1.0.1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 aardvark-dns Advisory build 2:1.7.0-1.module_el8.9.0+3657+d86e192f ALSA-2023:6939
Show 102 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 Release evaluationALAS2GOLANG1.19-2023-001 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2023-026 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2023-030 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-209 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 buildah Advisory build 1:1.24.6-7.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 buildah Advisory build 1:1.31.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 buildah-tests Advisory build 1:1.24.6-7.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 buildah-tests Advisory build 1:1.31.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 cockpit-podman Advisory build 46-1.module_el8.7.0+3344+5bcd850f ALSA-2023:6938
AlmaLinux 8 cockpit-podman Advisory build 75-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 conmon Advisory build 2:2.1.4-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 conmon Advisory build 3:2.1.8-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 container-selinux Advisory build 2:2.205.0-3.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 container-selinux Advisory build 2:2.221.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 containernetworking-plugins Advisory build 1:1.1.1-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 containernetworking-plugins Advisory build 1:1.3.0-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 containers-common Advisory build 2:1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 containers-common Advisory build 2:1-54.module_el8.9.0+3673+0c64b403 ALSA-2023:6939
AlmaLinux 8 crit Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 crit Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 crit Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu-devel Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu-devel Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu-devel Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 criu-libs Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 criu-libs Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 criu-libs Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 crun Advisory build 1.8.3-1.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 crun Advisory build 1.8.7-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 delve Advisory build 1.9.1-1.module_el8.8.0+3471+a62632a0 ALSA-2023:3319
AlmaLinux 8 fuse-overlayfs Advisory build 1.12-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 fuse-overlayfs Advisory build 1.9-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 go-toolset Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-bin Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-docs Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-misc Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-race Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-src Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 golang-tests Advisory build 1.19.9-1.module_el8.8.0+3570+5dc5ffc3 ALSA-2023:3319
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 libslirp Advisory build 4.4.0-1.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 libslirp-devel Advisory build 4.4.0-1.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 netavark Advisory build 2:1.0.1-38.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 netavark Advisory build 2:1.7.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 oci-seccomp-bpf-hook Advisory build 1.2.5-2.module_el8.8.0+3468+16b86c82 ALSA-2023:6938
AlmaLinux 8 oci-seccomp-bpf-hook Advisory build 1.2.9-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-catatonit Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-catatonit Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-docker Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-docker Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-gvproxy Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-gvproxy Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-plugins Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-plugins Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-remote Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-remote Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 podman-tests Advisory build 2:4.0.2-24.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 podman-tests Advisory build 3:4.6.1-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 python3-criu Advisory build 3.15-3.module_el8.6.0+2877+8e437bf5 ALSA-2023:6938
AlmaLinux 8 python3-criu Advisory build 3.15-3.module_el8.6.0+3137+d33c3efb ALSA-2023:6938
AlmaLinux 8 python3-criu Advisory build 3.18-4.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 python3-podman Advisory build 4.0.0-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 python3-podman Advisory build 4.6.0-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 runc Advisory build 1:1.1.5-2.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 runc Advisory build 1:1.1.9-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo Advisory build 2:1.13.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo Advisory build 2:1.6.2-8.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 skopeo-tests Advisory build 2:1.13.3-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 skopeo-tests Advisory build 2:1.6.2-8.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 slirp4netns Advisory build 1.1.8-3.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 slirp4netns Advisory build 1.2.1-1.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 toolbox Advisory build 0.0.99.4-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 toolbox Advisory build 0.0.99.4-5.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 toolbox-tests Advisory build 0.0.99.4-5.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 8 toolbox-tests Advisory build 0.0.99.4-5.module_el8.9.0+3643+9234dc3b ALSA-2023:6939
AlmaLinux 8 udica Advisory build 0.2.6-20.module_el8.8.0+3615+3543c705 ALSA-2023:6939
AlmaLinux 8 udica Advisory build 0.2.6-4.module_el8.9.0+3627+db8ec155 ALSA-2023:6938
AlmaLinux 9 buildah Advisory build 1:1.31.3-1.el9 ALSA-2023:6473
AlmaLinux 9 buildah-tests Advisory build 1:1.31.3-1.el9 ALSA-2023:6473
AlmaLinux 9 containernetworking-plugins Advisory build 1:1.3.0-4.el9 ALSA-2023:6402
AlmaLinux 9 go-toolset Advisory build 1.19.9-1.el9_2 ALSA-2023:3318
AlmaLinux 9 golang Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-bin Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-docs Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-misc Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-race Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-src Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 golang-tests Advisory build 1.19.9-2.el9_2 ALSA-2023:3318
AlmaLinux 9 podman Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-docker Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-gvproxy Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-plugins Advisory build 2:4.6.1-5.el9 ALSA-2023:6474
AlmaLinux 9 podman-remote Advisory build 2:4.6.1-5.el9 ALSA-2023:6474

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.

en · Go · cna

Vendor advisories explicitly linked to this CVE.

55

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.19.9 (affected · semver)1.20.0-0 to < 1.20.4 (affected · semver)Default: unaffected Go · cna

Weaknesses

2
  • CWE-74 CWE-74: Improper input validation (Go · cna)
  • CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') (CISA-ADP · adp)

References

5

Provider assertions

3

Go · cna

Improper handling of JavaScript whitespace in html/template

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d05db6bd3fae79214c07281d13ab3cd51edf91bfc867d3ecb2622cba9e41c93c
Ingested
23 Sep 2026, 08:06:44 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