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

medium Tenable Cloud Security Plugin ID 428513

Description

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

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

See Also

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

Plugin Details

Severity: Medium

ID: 428513

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

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