CVE-2023-39318: Improper handling of HTML-like comments in script contexts in html/template
Go standard library · html/template
Vendor fix available · Affected: Go standard library html/template · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 61% of scored CVEs
Not scored yet. The CVE record carries no CVSS score.
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Go standard library · html/templatebefore 1.20.8; from 1.21.0-0 before 1.21.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- Go standard library
- Published
- September 2023
CoverageNo articles yet
No CyberSIXT article names CVE-2023-39318 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- go.dev/issue/62196go.dev
- go.dev/cl/526156go.dev
- groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJgroups.google.com
- pkg.go.dev/vuln/GO-2023-2041pkg.go.dev
- security.netapp.com/advisory/ntap-20231020-0009security.netapp.com
- security.gentoo.org/glsa/202311-09security.gentoo.org