ADVISORIES

Vulnerability

CVE-2023-24540

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.

82 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2023-2163

    Amazon Linux 2 2017.12 - ALAS2-2023-2163: important priority package update for golang

    Important CVE-2022-41724CVE-2022-41725CVE-2023-24532CVE-2023-24536 Amazon Linux Updated 25 July 2023
  • ALAS2-2023-2303

    Amazon Linux 2 2017.12 - ALAS2-2023-2303: important priority package update for amazon-ssm-agent

    Important CVE-2021-43565CVE-2022-41723CVE-2023-24538CVE-2023-24540 Amazon Linux Updated 30 October 2023
  • ALAS2023-2023-209

    Amazon Linux 2023 - ALAS2023-2023-209: Important priority package update for golang

    Important CVE-2023-24539CVE-2023-24540CVE-2023-29400 Amazon Linux Updated 12 June 2023
  • ALPINE-CVE-2023-24540

    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…

    CVE-2023-24540 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2023-24540
    CVE-2023-24540 Alpine Updated 18 November 2026
  • ALSA-2023:3318

    Important: go-toolset and golang security update

    CVE-2023-24540 AlmaLinux Updated 29 October 2026
  • ALSA-2023:3319

    Important: go-toolset:rhel8 security update

    CVE-2023-24540 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6346

    Moderate: toolbox security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6363

    Moderate: skopeo security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6402

    Moderate: containernetworking-plugins security and bug fix update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6473

    Moderate: buildah security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6474

    Moderate: podman security, bug fix, and enhancement update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6938

    Moderate: container-tools:4.0 security and bug fix update

    CVE-2019-19921CVE-2022-3064CVE-2022-41723CVE-2022-41724 AlmaLinux Updated 29 October 2026
  • ALSA-2023:6939

    Moderate: container-tools:rhel8 security and bug fix update

    CVE-2019-19921CVE-2022-3064CVE-2022-41723CVE-2022-41724 AlmaLinux Updated 29 October 2026
  • AZL-26626

    CVE-2023-24540 affecting package msft-golang for versions less than 1.20.11-1

    CVE-2023-24540 Azure Linux Updated 21 April 2026
  • AZL-37428

    CVE-2023-24540 affecting package golang for versions less than 1.21.6-1

    CVE-2023-24540 Azure Linux Updated 21 April 2026
  • AZL-37517

    CVE-2023-24540 affecting package golang for versions less than 1.21.6-1

    CVE-2023-24540 Azure Linux Updated 21 April 2026
  • AZL-79082

    CVE-2023-24540 affecting package golang 1.25.7-1

    CVE-2023-24540 Azure Linux Updated 21 April 2026
  • AZL-98685

    CVE-2023-24540 affecting package golang 1.27.1-1

    CVE-2023-24540 Azure Linux Updated 16 September 2026
  • CGA-23g5-fw83-gvxh
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-27m7-mqhm-3x54
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-27m8-5g3w-vjrp
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-628p-28h4-xqp6
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-8pmm-4c85-32hm
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-9gp8-6h49-rgh5
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-9mh8-hq8j-v3r6
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-c48q-rf6v-49f3
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-c94w-7vp4-77rx
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-crwc-wf6c-cgg2
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-frhj-5w3j-wj7x
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-gf48-8344-3r4v
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-gfgf-2hmm-3wvm
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-hc3f-r322-rq45
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-hq5v-p4hg-vrxf
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-j5m9-vvgp-wfm8
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-pmp8-jgmh-pmxr
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-q9vm-6f8c-w234
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-r29v-r9fq-4xgx
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-rc42-4cgc-x5xr
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-w8qc-qgmx-g6ff
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • CGA-x6hm-73jf-gxx2
    CVE-2023-24540 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2023-24540

    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…

    CVE-2023-24540 Debian Updated 26 October 2026
  • ELSA-2023-3318

    ELSA-2023-3318: go-toolset and golang security update (IMPORTANT)

    Important CVE-2023-24540 Oracle Linux Updated 25 May 2023
  • ELSA-2023-3319

    ELSA-2023-3319: go-toolset:ol8 security update (IMPORTANT)

    Important CVE-2023-24540 Oracle Linux Updated 25 May 2023
  • ELSA-2023-6363

    ELSA-2023-6363: skopeo security update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6402

    ELSA-2023-6402: containernetworking-plugins security and bug fix update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6473

    ELSA-2023-6473: buildah security update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6474

    ELSA-2023-6474: podman security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Oracle Linux Updated 11 November 2023
  • ELSA-2023-6938

    ELSA-2023-6938: container-tools:4.0 security and bug fix update (MODERATE)

    Moderate CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Oracle Linux Updated 18 November 2023
  • ELSA-2023-6939

    ELSA-2023-6939: container-tools:ol8 security and bug fix update (MODERATE)

    Moderate CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Oracle Linux Updated 18 November 2023
  • GO-2023-1752

    Improper handling of JavaScript whitespace in html/template

    CVE-2023-24540 Go Updated 4 February 2026
  • OESA-2023-1294

    golang security update

    High CVE-2023-24539CVE-2023-24540CVE-2023-29400 openEuler Updated 18 August 2026
  • RHSA-2023:3318

    Red Hat Security Advisory: go-toolset and golang security update

    CVE-2023-24532CVE-2023-24534CVE-2023-24536CVE-2023-24537 Red Hat Updated 24 November 2026
  • RHSA-2023:3319

    Red Hat Security Advisory: go-toolset:rhel8 security update

    CVE-2023-24532CVE-2023-24534CVE-2023-24536CVE-2023-24537 Red Hat Updated 24 November 2026
  • RHSA-2023:3323

    Red Hat Security Advisory: go-toolset-1.19 and go-toolset-1.19-golang security update

    CVE-2023-24537CVE-2023-24538CVE-2023-24539CVE-2023-24540 Red Hat Updated 24 November 2026
  • RHSA-2023:3366

    Red Hat Security Advisory: OpenShift Container Platform 4.13.2 packages and security update

    CVE-2022-27191CVE-2022-41722CVE-2022-41724CVE-2023-24534 Red Hat Updated 23 November 2026
  • RHSA-2023:3409

    Red Hat Security Advisory: OpenShift Container Platform 4.12.20 packages and security update

    CVE-2023-24540 Red Hat Updated 13 November 2026
  • RHSA-2023:3445

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (etcd) security update

    CVE-2021-28235CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHSA-2023:3545

    Red Hat Security Advisory: OpenShift Container Platform 4.12.21 packages and security update

    CVE-2023-24540CVE-2023-30861 Red Hat Updated 24 November 2026
  • RHSA-2023:3612

    Red Hat Security Advisory: OpenShift Container Platform 4.13.4 packages and security update

    CVE-2022-41717CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 13 November 2026
  • RHSA-2023:3910

    Red Hat Security Advisory: Red Hat OpenShift Enterprise security update

    CVE-2022-41717CVE-2023-24540CVE-2023-3089 Red Hat Updated 13 November 2026
  • RHSA-2023:3914

    Red Hat Security Advisory: Red Hat OpenShift Enterprise security update

    CVE-2022-23772CVE-2022-24675CVE-2022-28327CVE-2022-30629 Red Hat Updated 23 November 2026
  • RHSA-2023:4420

    Red Hat Security Advisory: OpenShift Virtualization 4.12.5 RPMs security and bug fix update

    CVE-2023-24540 Red Hat Updated 13 November 2026
  • RHSA-2023:4470

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.3 Product Security and Bug Fix Update

    CVE-2022-41717CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6346

    Red Hat Security Advisory: toolbox security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6363

    Red Hat Security Advisory: skopeo security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6402

    Red Hat Security Advisory: containernetworking-plugins security and bug fix update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6473

    Red Hat Security Advisory: buildah security update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6474

    Red Hat Security Advisory: podman security, bug fix, and enhancement update

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24534 Red Hat Updated 24 November 2026
  • RHSA-2023:6938

    Red Hat Security Advisory: container-tools:4.0 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHSA-2023:6939

    Red Hat Security Advisory: container-tools:rhel8 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Red Hat Updated 24 November 2026
  • RHVEX-CVE-2023-24540

    golang: html/template: improper handling of JavaScript whitespace

    Important CVE-2023-24540 Red Hat Updated 4 November 2026
  • RLSA-2023:3319

    Important: go-toolset:Rocky Linux8 security update

    CVE-2023-24540 Rocky Linux Updated 4 February 2026
  • RLSA-2023:6938

    Moderate: container-tools:4.0 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Rocky Linux Updated 28 November 2025
  • RLSA-2023:6939

    Moderate: container-tools:rhel8 security and bug fix update

    CVE-2022-3064CVE-2022-41723CVE-2022-41724CVE-2022-41725 Rocky Linux Updated 28 November 2025
  • SUSE-SU-2023:2105-1

    Security update for go1.20

    CVE-2023-24534CVE-2023-24536CVE-2023-24537CVE-2023-24538 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2105-2

    Security update for go1.20

    CVE-2023-24534CVE-2023-24536CVE-2023-24537CVE-2023-24538 SUSE Updated 4 February 2026
  • SUSE-SU-2023:2127-1

    Security update for go1.19

    CVE-2023-24534CVE-2023-24536CVE-2023-24537CVE-2023-24538 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2023-24540

    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…

    Moderate CVE-2023-24540 SUSE Updated 1 November 2026
  • UBUNTU-CVE-2023-24540

    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…

    CVE-2023-24540 Ubuntu Updated 4 February 2026
  • openSUSE-SU-2024:12907-1

    go1.19-1.19.9-1.1 on GA media

    CVE-2023-24539CVE-2023-24540CVE-2023-29400 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12908-1

    go1.20-1.20.4-1.1 on GA media

    CVE-2023-24539CVE-2023-24540CVE-2023-29400 openSUSE Updated 4 February 2026

References