CVE catalog

CVE-2023-39318

golang-1.19: CVE-2023-39318

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.93% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-1.19bookworm1.19.8-2vulnerable
Ubuntugolang-1.1014.041.10.4-2ubuntu1~14.04.1vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.3vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4vulnerable
Ubuntugolang-1.18pro1.18.1-1ubuntu1~18.04.4+esm1fixed
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.1vulnerable
Ubuntugolang-1.1016.041.10.4-2ubuntu1~16.04.2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6-0ubuntu2vulnerable
Ubuntugolang-1.616.041.6-0ubuntu3vulnerable
Ubuntugolang-1.616.041.6-0ubuntu4vulnerable
Ubuntugolang-1.616.041.6-0ubuntu5vulnerable
Ubuntugolang-1.616.041.6.1-0ubuntu1vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.2vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.3vulnerable
Ubuntugolang-1.616.041.6.2-0ubuntu5~16.04.4vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.1+esm1vulnerable
Ubuntugolang-1.13pro1.13.8-1ubuntu2.22.04.2vulnerable
Ubuntugolang-1.1018.041.10~rc1-1vulnerable
Ubuntugolang-1.1018.041.10~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc1-2ubuntu1vulnerable
Ubuntugolang-1.1018.041.10~rc2-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10-1ubuntu1vulnerable
Ubuntugolang-1.1018.041.10.1-1ubuntu2vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.1vulnerable
Ubuntugolang-1.1018.041.10.4-2ubuntu1~18.04.2vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1vulnerable
Ubuntugolang-1.16pro1.16.2-0ubuntu1~20.04.1+esm1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1vulnerable
Ubuntugolang-1.818.041.8.3-2ubuntu1.18.04.1vulnerable
Ubuntugolang-1.918.041.9.1-2ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.2-3ubuntu1vulnerable
Ubuntugolang-1.918.041.9.3-1ubuntu1vulnerable
Ubuntugolang-1.918.041.9.4-1ubuntu1vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.1vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.2vulnerable
Ubuntugolang-1.1820.041.18.1-1ubuntu1~20.04.3fixed
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04.1fixed
Ubuntugolang-1.1320.041.13.1-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.3-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.4-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.5-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.6-2ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.7-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.1vulnerable
Ubuntugolang-1.1320.041.13.8-1ubuntu1.2vulnerable
Ubuntugolang-1.1420.041.14~beta1-1vulnerable
Ubuntugolang-1.1420.041.14~beta1-2vulnerable
Ubuntugolang-1.1420.041.14~rc1-1vulnerable
Ubuntugolang-1.1420.041.14-1vulnerable
Ubuntugolang-1.1420.041.14.1-1vulnerable
Ubuntugolang-1.1420.041.14.2-1vulnerable
Ubuntugolang-1.1420.041.14.2-1ubuntu1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.1vulnerable
Ubuntugolang-1.1420.041.14.3-2ubuntu2~20.04.2vulnerable
Ubuntugolang-1.1722.041.17-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.3-1ubuntu2vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1vulnerable
Ubuntugolang-1.1722.041.17.13-3ubuntu1.2fixed
Ubuntugolang-1.1822.041.18~beta1-0ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18~beta2-1ubuntu2vulnerable
Ubuntugolang-1.1822.041.18~rc1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.1vulnerable
Ubuntugolang-1.1822.041.18.1-1ubuntu1.2fixed
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04.1fixed
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04vulnerable
Ubuntugolang-1.2020.041.20.3-1ubuntu0.1~20.04.1fixed
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.1vulnerable
Ubuntugolang-1.2120.041.21.1-1~ubuntu20.04.2fixed
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04vulnerable
Ubuntugolang-1.2022.041.20.3-1ubuntu0.1~22.04.1fixed
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.1vulnerable
Ubuntugolang-1.2122.041.21.1-1~ubuntu22.04.2fixed
Susego1.21-openssllinux enterprise module for development tools 15 sp41.21.4.1-150000.1.5.1fixed
Susego1.21-openssllinux enterprise module for development tools 15 sp51.21.4.1-150000.1.5.1fixed
Opensusego1.21-opensslleap 15.41.21.4.1-150000.1.5.1fixed
Opensusego1.21-opensslleap 15.51.21.4.1-150000.1.5.1fixed
Opensusego1.21tumbleweed1.21.1-1.1fixed
Susegopackage hub 121.21-41.1fixed
Susego1.21package hub 121.21.3-2.1fixed
Susego1.20linux enterprise module for development tools 15 sp41.20.8-150000.1.23.1fixed
Susego1.20linux enterprise module for development tools 15 sp51.20.8-150000.1.23.1fixed
Opensusego1.20leap 15.41.20.8-150000.1.23.1fixed
Opensusego1.20leap 15.51.20.8-150000.1.23.1fixed
Opensusego1.20tumbleweed1.20.8-1.1fixed
Susego1.21linux enterprise module for development tools 15 sp41.21.1-150000.1.6.1fixed
Susego1.21linux enterprise module for development tools 15 sp51.21.1-150000.1.6.1fixed
Opensusego1.21leap 15.41.21.1-150000.1.6.1fixed
Opensusego1.21leap 15.51.21.1-150000.1.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-1.19sourcebookworm(unfixed)not yet assignedNot reportedNot reported
Ubuntugolang-1.18debpro1.18.1-1ubuntu1~18.04.4+esm1Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.18deb20.041.18.1-1ubuntu1~20.04.3Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.20deb20.041.20.3-1ubuntu0.1~20.04.1Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.17deb22.041.17.13-3ubuntu1.2Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.18deb22.041.18.1-1ubuntu1.2Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.20deb22.041.20.3-1ubuntu0.1~22.04.1Not reportedUBUNTU-CVE-2023-39318Not reported
Ubuntugolang-1.20deb20.041.20.3-1ubuntu0.1~20.04.1Not reportedUSN-6574-1Not reported
Ubuntugolang-1.21deb20.041.21.1-1~ubuntu20.04.2Not reportedUSN-6574-1Not reported
Ubuntugolang-1.20deb22.041.20.3-1ubuntu0.1~22.04.1Not reportedUSN-6574-1Not reported
Ubuntugolang-1.21deb22.041.21.1-1~ubuntu22.04.2Not reportedUSN-6574-1Not reported
Susego1.21-opensslrpmlinux enterprise module for development tools 15 sp41.21.4.1-150000.1.5.1Not reportedSUSE-SU-2023:4469-1Not reported
Susego1.21-opensslrpmlinux enterprise module for development tools 15 sp51.21.4.1-150000.1.5.1Not reportedSUSE-SU-2023:4469-1Not reported
Opensusego1.21-opensslrpmleap 15.41.21.4.1-150000.1.5.1Not reportedSUSE-SU-2023:4469-1Not reported
Opensusego1.21-opensslrpmleap 15.51.21.4.1-150000.1.5.1Not reportedSUSE-SU-2023:4469-1Not reported
Opensusego1.21rpmtumbleweed1.21.1-1.1Not reportedOPENSUSE-SU-2024:13217-1Not reported
Susegorpmpackage hub 121.21-41.1Not reportedOPENSUSE-SU-2023:0360-1Not reported
Susego1.21rpmpackage hub 121.21.3-2.1Not reportedOPENSUSE-SU-2023:0360-1Not reported
Susego1.20rpmlinux enterprise module for development tools 15 sp41.20.8-150000.1.23.1Not reportedSUSE-SU-2023:3700-1Not reported
Susego1.20rpmlinux enterprise module for development tools 15 sp51.20.8-150000.1.23.1Not reportedSUSE-SU-2023:3700-1Not reported
Opensusego1.20rpmleap 15.41.20.8-150000.1.23.1Not reportedSUSE-SU-2023:3700-1Not reported
Opensusego1.20rpmleap 15.51.20.8-150000.1.23.1Not reportedSUSE-SU-2023:3700-1Not reported
Opensusego1.20rpmtumbleweed1.20.8-1.1Not reportedOPENSUSE-SU-2024:13216-1Not reported
Susego1.21rpmlinux enterprise module for development tools 15 sp41.21.1-150000.1.6.1Not reportedSUSE-SU-2023:3701-1Not reported
Susego1.21rpmlinux enterprise module for development tools 15 sp51.21.1-150000.1.6.1Not reportedSUSE-SU-2023:3701-1Not reported
Opensusego1.21rpmleap 15.41.21.1-150000.1.6.1Not reportedSUSE-SU-2023:3701-1Not reported
Opensusego1.21rpmleap 15.51.21.1-150000.1.6.1Not reportedSUSE-SU-2023:3701-1Not reported

Notes

[bookworm] golang-1.19: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References