CVE-2023-39318 Improper handling of HTML-like comments in script contexts in html/template
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
html/template
영향 받는 버전
- 1.20.8 미만
- 1.21.0-0 이상 1.21.1 미만
해결 버전
- 1.20.8 이상
- 1.21.1 이상
참고 자료 6건
- go.dev https://go.dev/cl/526156 (새 창)
- go.dev https://go.dev/issue/62196 (새 창)
- groups.google.com https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ (새 창)
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-2041 (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/202311-09 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20231020-0009/ (새 창)