SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2023-39319

This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped.

MEDIUM 6.1EPSS 0.92%

Does this matter?

Lower severity and a low EPSS score (0.92%). Track it; it rarely justifies an emergency change on its own.

Description

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.

CVSS 3.1
6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.92% probability · 58th percentile
CISA KEV
Not listed
Weakness
CWE-79
Affected
golang/go
Source
security@golang.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.