Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2023-39319 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 26, 2024Exploitation: NoneAutomatable: NoTechnical Impact: Partial
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/526157 | CVE | Patch |
| https://go.dev/issue/62197 | CVE | Issue Tracking |
| https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ | CVE | Release Notes |
| https://pkg.go.dev/vuln/GO-2023-2043 | CVE | Vendor Advisory |
| https://security.gentoo.org/glsa/202311-09 | CVE | |
| https://security.netapp.com/advisory/ntap-20231020-0009/ | CVE | Third Party Advisory |
| https://go.dev/cl/526157 | [email protected] | Patch |
| https://go.dev/issue/62197 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ | [email protected] | Release Notes |
| https://pkg.go.dev/vuln/GO-2023-2043 | [email protected] | Vendor Advisory |
| https://security.gentoo.org/glsa/202311-09 | [email protected] | |
| https://security.netapp.com/advisory/ntap-20231020-0009/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.20.8 >= 1.21.0, < 1.21.1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 25, 2023 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Nov 2, 2023 | Modified Analysis | [email protected] |
| Oct 20, 2023 | CVE Modified | [email protected] |
| Sep 12, 2023 | Initial Analysis | [email protected] |