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.
https://security.netapp.com/advisory/ntap-20231020-0009/
https://security.gentoo.org/glsa/202311-09
https://pkg.go.dev/vuln/GO-2023-2043
https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ
Published: 2023-09-08
Updated: 2026-06-17
Named Vulnerability: GO-2023-2043Named Vulnerability: GHSA-vv9m-32rr-3g55
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
EPSS: 0.00911