ADVISORIES

Vulnerability

CVE-2023-39319

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.

79 advisories report this vulnerability, across 15 ecosystems.

Advisories

  • ALAS2-2023-2313

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

    Important Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39323CVE-2023-39325 Amazon Linux Updated 3 January 2024
  • ALAS2023-2023-367

    Amazon Linux 2023 - ALAS2023-2023-367: Medium priority package update for golang

    Medium CVE-2023-39318CVE-2023-39319 Amazon Linux Updated 3 October 2023
  • ALPINE-CVE-2023-39319

    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…

    CVE-2023-39319 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2023-39319
    CVE-2023-39319 Alpine Updated 18 November 2026
  • ALSA-2023:7762

    Moderate: skopeo security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 AlmaLinux Updated 29 October 2026
  • ALSA-2023:7764

    Moderate: buildah security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 AlmaLinux Updated 29 October 2026
  • ALSA-2023:7765

    Moderate: podman security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 AlmaLinux Updated 29 October 2026
  • ALSA-2023:7766

    Moderate: containernetworking-plugins security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 AlmaLinux Updated 29 October 2026
  • ALSA-2024:0121

    Moderate: container-tools:4.0 security update

    CVE-2022-27664CVE-2022-2879CVE-2022-2880CVE-2022-41715 AlmaLinux Updated 29 October 2026
  • ALSA-2024:2160

    Moderate: toolbox security update

    CVE-2023-39318CVE-2023-39319CVE-2023-39326 AlmaLinux Updated 29 October 2026
  • AZL-28695

    CVE-2023-39319 affecting package golang for versions less than 1.20.10-1

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-28830

    CVE-2023-39319 affecting package msft-golang for versions less than 1.20.10-1

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-34745

    CVE-2023-39319 affecting package golang for versions less than 1.20.10-1

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-37293

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

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-37403

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

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-78956

    CVE-2023-39319 affecting package golang 1.25.7-1

    CVE-2023-39319 Azure Linux Updated 21 April 2026
  • AZL-98787

    CVE-2023-39319 affecting package golang 1.27.1-1

    CVE-2023-39319 Azure Linux Updated 16 September 2026
  • CGA-2m79-f67j-m2g8
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-3vp3-cmw7-27mj
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-4crx-j63q-wv85
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-4vm3-x766-86p6
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-672g-5r9q-qg8p
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-67q3-6xrp-47h8
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-7jx3-7c56-v3hp
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-847r-jmmw-q66q
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-959q-rgq3-g49x
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-cxqp-5x22-gm8p
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-f56x-c2m6-87gh
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-fjqm-xr56-vvpf
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-gcff-56m6-964c
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-h5pw-9mx5-jm4r
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-hqrw-4p67-7m5v
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-hw9r-8fg4-c7qr
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-hxww-7478-c635
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-jg49-pmgg-ph94
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-q5hh-pxxq-gp53
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-rhmj-q93x-949c
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-wcg3-x6qj-g3mc
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-wm8m-p7wv-7gvp
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-wvg6-2gc9-mq95
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • CGA-xww9-jhj7-pjr9
    CVE-2023-39319 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2023-39319

    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…

    CVE-2023-39319 Debian Updated 26 October 2026
  • ELSA-2023-7762

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

    Moderate CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Oracle Linux Updated 13 December 2023
  • ELSA-2023-7764

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

    Moderate CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Oracle Linux Updated 14 December 2023
  • ELSA-2023-7765

    ELSA-2023-7765: podman security update (MODERATE)

    Moderate CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Oracle Linux Updated 14 December 2023
  • ELSA-2023-7766

    ELSA-2023-7766: containernetworking-plugins security update (MODERATE)

    Moderate CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Oracle Linux Updated 13 December 2023
  • ELSA-2024-0121

    ELSA-2024-0121: container-tools:4.0 security update (MODERATE)

    Moderate CVE-2022-27664CVE-2022-2879CVE-2022-2880CVE-2022-41715 Oracle Linux Updated 11 January 2024
  • ELSA-2024-2988

    ELSA-2024-2988: container-tools:ol8 security update (MODERATE)

    Moderate CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Oracle Linux Updated 24 May 2024
  • GO-2023-2043

    Improper handling of special tags within script contexts in html/template

    CVE-2023-39319 Go Updated 4 February 2026
  • OESA-2023-1789

    golang security update

    High CVE-2023-39318CVE-2023-39319CVE-2023-39323CVE-2023-39325 openEuler Updated 18 August 2026
  • RHBA-2023:6364

    Red Hat Bug Fix Advisory: golang and delve bug fix and enhancement update

    CVE-2023-39318CVE-2023-39319CVE-2023-39321CVE-2023-39322 Red Hat Updated 13 November 2026
  • RHBA-2023:6928

    Red Hat Bug Fix Advisory: go-toolset:rhel8 bug fix and enhancement update

    CVE-2023-39318CVE-2023-39319CVE-2023-39321CVE-2023-39322 Red Hat Updated 13 November 2026
  • RHSA-2023:5008

    Red Hat Security Advisory: Red Hat build of MicroShift 4.14.0 security update

    CVE-2023-1260CVE-2023-2727CVE-2023-2728CVE-2023-39318 Red Hat Updated 13 November 2026
  • RHSA-2023:5009

    Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update

    Known exploited CVE-2022-27664CVE-2023-2727CVE-2023-2728CVE-2023-29409 Red Hat Updated 23 November 2026
  • RHSA-2023:6840

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

    Known exploited CVE-2023-29406CVE-2023-29409CVE-2023-39318CVE-2023-39319 Red Hat Updated 24 November 2026
  • RHSA-2023:7762

    Red Hat Security Advisory: skopeo security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Red Hat Updated 24 November 2026
  • RHSA-2023:7764

    Red Hat Security Advisory: buildah security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Red Hat Updated 24 November 2026
  • RHSA-2023:7765

    Red Hat Security Advisory: podman security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Red Hat Updated 24 November 2026
  • RHSA-2023:7766

    Red Hat Security Advisory: containernetworking-plugins security update

    CVE-2023-29409CVE-2023-39318CVE-2023-39319CVE-2023-39321 Red Hat Updated 24 November 2026
  • RHSA-2024:0121

    Red Hat Security Advisory: container-tools:4.0 security update

    CVE-2022-27664CVE-2022-2879CVE-2022-2880CVE-2022-41715 Red Hat Updated 23 November 2026
  • RHSA-2024:2160

    Red Hat Security Advisory: toolbox security update

    CVE-2023-39318CVE-2023-39319CVE-2023-39326 Red Hat Updated 23 November 2026
  • RHSA-2024:2988

    Red Hat Security Advisory: container-tools:rhel8 security update

    CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Red Hat Updated 23 November 2026
  • RHSA-2024:3352

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

    CVE-2023-39318CVE-2023-39319CVE-2023-39321CVE-2023-39322 Red Hat Updated 24 November 2026
  • RHSA-2024:3467

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

    CVE-2023-39318CVE-2023-39319CVE-2023-39321CVE-2023-39322 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2023-39319

    golang: html/template: improper handling of special tags within script contexts

    Moderate CVE-2023-39319 Red Hat Updated 7 November 2026
  • RLSA-2024:0121

    Moderate: container-tools:4.0 security update

    CVE-2022-27664CVE-2022-2879CVE-2022-2880CVE-2022-41715 Rocky Linux Updated 7 May 2025
  • RLSA-2024:2988

    Moderate: container-tools:rhel8 security update

    CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Rocky Linux Updated 7 May 2025
  • SUSE-SU-2023:3700-1

    Security update for go1.20

    CVE-2023-39318CVE-2023-39319 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:3701-1

    Security update for go1.21

    CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:3840-1

    Security update for go1.20-openssl

    CVE-2023-29409CVE-2023-39318CVE-2023-39319 SUSEopenSUSE Updated 2 May 2025
  • SUSE-SU-2023:4469-1

    Security update for go1.21-openssl

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2023-39319

    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…

    Moderate CVE-2023-39319 SUSE Updated 12 October 2026
  • UBUNTU-CVE-2023-39319

    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…

    CVE-2023-39319 Ubuntu Updated 20 May 2026
  • USN-6574-1

    Go vulnerabilities

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39323CVE-2023-39325 Ubuntu Updated 27 April 2026
  • USN-7061-1

    golang-1.17 vulnerabilities

    CVE-2023-24531CVE-2023-24538CVE-2023-29402CVE-2023-29403 Ubuntu Updated 27 April 2026
  • USN-7109-1

    golang-1.18 vulnerabilities

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24531 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2023:0360-1

    Security update for go1.21

    Known exploited CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:13216-1

    go1.20-1.20.8-1.1 on GA media

    CVE-2023-39318CVE-2023-39319 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13217-1

    go1.21-1.21.1-1.1 on GA media

    CVE-2023-39318CVE-2023-39319CVE-2023-39320CVE-2023-39321 openSUSE Updated 4 February 2026

References