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.
References
Link | Resource |
---|---|
https://go.dev/cl/526156 | Patch |
https://go.dev/issue/62196 | Issue Tracking |
https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ | Mailing List Release Notes |
https://pkg.go.dev/vuln/GO-2023-2041 | Vendor Advisory |
https://security.gentoo.org/glsa/202311-09 | |
https://security.netapp.com/advisory/ntap-20231020-0009/ | Third Party Advisory |
https://go.dev/cl/526156 | Patch |
https://go.dev/issue/62196 | Issue Tracking |
https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ | Mailing List Release Notes |
https://pkg.go.dev/vuln/GO-2023-2041 | Vendor Advisory |
https://security.gentoo.org/glsa/202311-09 | |
https://security.netapp.com/advisory/ntap-20231020-0009/ | Third Party Advisory |
Configurations
History
21 Nov 2024, 08:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://go.dev/cl/526156 - Patch | |
References | () https://go.dev/issue/62196 - Issue Tracking | |
References | () https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ - Mailing List, Release Notes | |
References | () https://pkg.go.dev/vuln/GO-2023-2041 - Vendor Advisory | |
References | () https://security.gentoo.org/glsa/202311-09 - | |
References | () https://security.netapp.com/advisory/ntap-20231020-0009/ - Third Party Advisory |
25 Nov 2023, 11:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
Information
Published : 2023-09-08 17:15
Updated : 2024-11-21 08:15
NVD link : CVE-2023-39318
Mitre link : CVE-2023-39318
CVE.ORG link : CVE-2023-39318
JSON object : View
Products Affected
golang
- go
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')