Golang: stdlib: security update to 1.20.8stdlib: security update to 1.21.1

medium Tenable Cloud Security Plugin ID 428516

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-39318)

See Also

https://pkg.go.dev/vuln/GO-2023-2041

Plugin Details

Severity: Medium

ID: 428516

Version: Revision 1.2

Type: Local

Family: Golang

Published: 7/21/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2023-39318

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/7/2023

Vulnerability Publication Date: 9/7/2023

Reference Information

CVE: CVE-2023-39318