CVE-2023-39319 Improper handling of special tags within script contexts in html/template
설명
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.
영향 받는 제품 제품 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/526157 (새 창)
- go.dev https://go.dev/issue/62197 (새 창)
- 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-2043 (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/202311-09 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20231020-0009/ (새 창)