synced 10 MIN AGO
01 Record

CVE-2023-39319

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

UnratedPUBLISHEDCNA: Go
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.91% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 59.6% of scored records. A rank, not a probability.
NVD base score
6.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-09-08 16:13Z3 YR AGO
Last updated
2025-02-13 17:02Z1 YR AGO
Reserved
2023-07-27
Assigning CNA
Go
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
Data version
5.1
Document digest
374ecf8ee0eb65735d7021334095d134cb2fa76589c38cc655baf8050c7a8694

05 Affected products

VendorProductVersionsPlatforms
Go standard libraryhtml/template0 to < 1.20.8, 1.21.0-0 to < 1.21.1—

06 References

07 Fixed in

AlmaLinux 8

  • aardvark-dns
    Fixed in 2:1.0.1-38.module_el8.9.0+3627+db8ec155
  • buildah
    Fixed in 1:1.24.6-7.module_el8.9.0+3627+db8ec155
  • buildah-tests
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:1.24.6-7.module_el8.9.0+3627+db8ec155
    • Affected before 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f
  • cockpit-podman
    Fixed in 46-1.module_el8.7.0+3344+5bcd850f
  • conmon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2:2.1.4-2.module_el8.9.0+3627+db8ec155
    • Affected before 2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f
  • container-selinux
    Fixed in 2:2.205.0-3.module_el8.9.0+3627+db8ec155
  • containernetworking-plugins
    Fixed in 1:1.1.1-6.module_el8.9.0+3711+04fcca5e
  • containers-common
    Fixed in 2:1-38.module_el8.9.0+3627+db8ec155
  • crit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • crun
    Fixed in 1.8.7-1.module_el8.9.0+3683+33eb0feb
  • fuse-overlayfs
    Fixed in 1.9-2.module_el8.9.0+3627+db8ec155
  • libslirp
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.4.0-1.module_el8.6.0+2877+8e437bf5
    • Affected before 4.4.0-1.module_el8.6.0+3137+d33c3efb
  • libslirp-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.4.0-1.module_el8.6.0+2877+8e437bf5
    • Affected before 4.4.0-1.module_el8.6.0+3137+d33c3efb
  • netavark
    Fixed in 2:1.0.1-38.module_el8.9.0+3627+db8ec155
  • oci-seccomp-bpf-hook
    Fixed in 1.2.5-2.module_el8.8.0+3468+16b86c82
  • podman
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-catatonit
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-docker
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-gvproxy
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-plugins
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-remote
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-tests
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • python3-criu
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • python3-podman
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.0.0-2.module_el8.9.0+3627+db8ec155
    • Affected before 4.0.0-2.module_el8.9.0+3711+04fcca5e
  • runc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:1.1.5-2.module_el8.9.0+3627+db8ec155
    • Affected before 1:1.1.5-2.module_el8.9.0+3687+dcd7ef8f
  • skopeo
    Fixed in 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1
  • skopeo-tests
    Fixed in 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1
  • slirp4netns
    Fixed in 1.1.8-3.module_el8.9.0+3627+db8ec155
  • toolbox
    Fixed in 0.0.99.4-5.module_el8.9.0+3627+db8ec155
  • toolbox-tests
    Fixed in 0.0.99.4-5.module_el8.9.0+3627+db8ec155
  • udica
    Fixed in 0.2.6-4.module_el8.9.0+3627+db8ec155

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • buildah
    Fixed in 1:1.31.3-2.el9_3
  • buildah-tests
    Fixed in 1:1.31.3-2.el9_3
  • containernetworking-plugins
    Fixed in 1:1.3.0-6.el9_3
  • podman
    Fixed in 2:4.6.1-7.el9_3
  • podman-docker
    Fixed in 2:4.6.1-7.el9_3
  • podman-gvproxy
    Fixed in 2:4.6.1-7.el9_3
  • podman-plugins
    Fixed in 2:4.6.1-7.el9_3
  • podman-remote
    Fixed in 2:4.6.1-7.el9_3
  • podman-tests
    Fixed in 2:4.6.1-7.el9_3
  • skopeo
    Fixed in 2:1.13.3-3.el9_3
  • skopeo-tests
    Fixed in 2:1.13.3-3.el9_3
  • toolbox
    Fixed in 0.0.99.5-2.el9
  • toolbox-tests
    Fixed in 0.0.99.5-2.el9

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • aardvark-dns
    Fixed in 2:1.0.1-38.module_el8.9.0+3627+db8ec155
  • buildah
    Fixed in 1:1.24.6-7.module_el8.9.0+3627+db8ec155
  • buildah-tests
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:1.24.6-7.module_el8.9.0+3627+db8ec155
    • Affected before 1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f
  • cockpit-podman
    Fixed in 46-1.module_el8.7.0+3344+5bcd850f
  • conmon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2:2.1.4-2.module_el8.9.0+3627+db8ec155
    • Affected before 2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f
  • container-selinux
    Fixed in 2:2.205.0-3.module_el8.9.0+3627+db8ec155
  • containernetworking-plugins
    Fixed in 1:1.1.1-6.module_el8.9.0+3711+04fcca5e
  • containers-common
    Fixed in 2:1-38.module_el8.9.0+3627+db8ec155
  • crit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • criu-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • crun
    Fixed in 1.8.7-1.module_el8.9.0+3683+33eb0feb
  • fuse-overlayfs
    Fixed in 1.9-2.module_el8.9.0+3627+db8ec155
  • libslirp
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.4.0-1.module_el8.6.0+2877+8e437bf5
    • Affected before 4.4.0-1.module_el8.6.0+3137+d33c3efb
  • libslirp-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.4.0-1.module_el8.6.0+2877+8e437bf5
    • Affected before 4.4.0-1.module_el8.6.0+3137+d33c3efb
  • netavark
    Fixed in 2:1.0.1-38.module_el8.9.0+3627+db8ec155
  • oci-seccomp-bpf-hook
    Fixed in 1.2.5-2.module_el8.8.0+3468+16b86c82
  • podman
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-catatonit
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-docker
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-gvproxy
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-plugins
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-remote
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • podman-tests
    Fixed in 2:4.0.2-25.module_el8.9.0+3711+04fcca5e.alma.1
  • python3-criu
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.15-3.module_el8.6.0+2877+8e437bf5
    • Affected before 3.15-3.module_el8.6.0+3137+d33c3efb
  • python3-podman
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.0.0-2.module_el8.9.0+3627+db8ec155
    • Affected before 4.0.0-2.module_el8.9.0+3711+04fcca5e
  • runc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:1.1.5-2.module_el8.9.0+3627+db8ec155
    • Affected before 1:1.1.5-2.module_el8.9.0+3687+dcd7ef8f
  • skopeo
    Fixed in 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1
  • skopeo-tests
    Fixed in 2:1.6.2-9.module_el8.9.0+3687+dcd7ef8f.alma.1
  • slirp4netns
    Fixed in 1.1.8-3.module_el8.9.0+3627+db8ec155
  • toolbox
    Fixed in 0.0.99.4-5.module_el8.9.0+3627+db8ec155
  • toolbox-tests
    Fixed in 0.0.99.4-5.module_el8.9.0+3627+db8ec155
  • udica
    Fixed in 0.2.6-4.module_el8.9.0+3627+db8ec155

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • buildah
    Fixed in 1:1.31.3-2.el9_3
  • buildah-tests
    Fixed in 1:1.31.3-2.el9_3
  • containernetworking-plugins
    Fixed in 1:1.3.0-6.el9_3
  • podman
    Fixed in 2:4.6.1-7.el9_3
  • podman-docker
    Fixed in 2:4.6.1-7.el9_3
  • podman-gvproxy
    Fixed in 2:4.6.1-7.el9_3
  • podman-plugins
    Fixed in 2:4.6.1-7.el9_3
  • podman-remote
    Fixed in 2:4.6.1-7.el9_3
  • podman-tests
    Fixed in 2:4.6.1-7.el9_3
  • skopeo
    Fixed in 2:1.13.3-3.el9_3
  • skopeo-tests
    Fixed in 2:1.13.3-3.el9_3
  • toolbox
    Fixed in 0.0.99.5-2.el9
  • toolbox-tests
    Fixed in 0.0.99.5-2.el9

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • golang-1.19
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • golang-1.10
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • golang-1.10
    No fix yet
  • golang-1.6
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • golang-1.10
    No fix yet
  • golang-1.8
    No fix yet
  • golang-1.9
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.14
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~20.04.3
  • golang-1.20
    Fixed in 1.20.3-1ubuntu0.1~20.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • golang-1.17
    Fixed in 1.17.13-3ubuntu1.2
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1.2
  • golang-1.20
    Fixed in 1.20.3-1ubuntu0.1~22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~16.04.6+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • golang-1.13
    No fix yet
  • golang-1.16
    No fix yet
  • golang-1.18
    Fixed in 1.18.1-1ubuntu1~18.04.4+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • golang-1.16
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • golang-1.13
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.