- Home
- Vulnerabilities
- CVE-2023-39319
CVE-2023-39319
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and…
Medium
42/100
Summary
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.
Affected products and versions
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://go.dev/cl/526157Patch
- https://pkg.go.dev/vuln/GO-2023-2043Vendor Advisory
- https://go.dev/issue/62197Issue Tracking
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJRelease Notes
- https://security.netapp.com/advisory/ntap-20231020-0009/Third Party Advisory
- https://security.gentoo.org/glsa/202311-09
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N(CVSS 3.1, NVD)- Weakness
- CWE-79 · Script intersite (XSS)