CVE-2023-39319
MEDIUM6.1EPSS 0.09%Improper handling of special tags within script contexts in html/template
發布日:2023/9/7修改日:2026/4/28
也稱為:DEBIAN-CVE-2023-39319
描述
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.
受影響套件(4)
- Bitnami/golangfrom 0, < 1.20.8, >= 1.21.0, < 1.21.1
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.20.8, >= 1.21.0-0, < 1.21.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-39319
- PATCHhttps://go.dev/cl/526157
- REPORThttps://go.dev/issue/62197
- WEBhttps://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-39319
- WEBhttps://pkg.go.dev/vuln/GO-2023-2043
- WEBhttps://security.gentoo.org/glsa/202311-09
- WEBhttps://security.netapp.com/advisory/ntap-20231020-0009/