ADVISORIES

Vulnerability

CVE-2023-39318

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.

79 advisories report this vulnerability, across 15 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2023-39318

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

    CVE-2023-39318 Ubuntu Updated 24 November 2026
  • USN-6574-1

    Go vulnerabilities

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

    golang-1.17 vulnerabilities

    CVE-2023-24531CVE-2023-24538CVE-2023-29402CVE-2023-29403 Ubuntu Updated 24 November 2026
  • USN-7109-1

    golang-1.18 vulnerabilities

    CVE-2022-41723CVE-2022-41724CVE-2022-41725CVE-2023-24531 Ubuntu Updated 24 November 2026

References