VulnerabilityModified
CVE-2023-39318
This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped.
MEDIUM 6.1EPSS 0.94%
Does this matter?
Lower severity and a low EPSS score (0.94%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- 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.94% probability · 59th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- golang/go
- Source
- security@golang.org
References
- https://go.dev/cl/526156Patch
- https://go.dev/issue/62196Issue Tracking
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-2041Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20231020-0009/Third Party Advisory
- https://go.dev/cl/526156Patch
- https://go.dev/issue/62196Issue Tracking
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-2041Vendor Advisory
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20231020-0009/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.