CVE-2023-39319
mediumpriority · track · 24EPSS 0.009 · 60 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (37)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2280Golang Go: Mehrere SchwachstellenDeutsch2023-09-06csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Golang Go ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen, Code auszuführen oder einen Denial of Service zu verursachen.
- WID-SEC-W-2023-3146IBM MQ Operator and Queue manager: Mehrere SchwachstellenDeutsch2023-12-13csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM MQ Operator and Queue manager ausnutzen, um einen Denial of Service Angriff durchzuführen, Informationen offenzulegen oder Sicherheitsmaßnahmen zu umgehen.
- BIT-golang-2023-39319Improper handling of special tags within script contexts in html/template2024-03-06vendor · osvUS
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.
- GO-2023-2043Improper handling of special tags within script contexts in html/template2023-09-07vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
- CNNVD-202309-667cnnvd
- EUVD-2023-43051enisa_euvd
- BDU:2024-07763fstec_bdu
- GHSA-vv9m-32rr-3g55enisa_euvd
- BIT-golang-2023-39319osv
- GO-2023-2043osv
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-39319/cnnvd
- https://github.com/golang/go/issues/62197Patchcnnvd
- https://go.dev/cl/526157cnnvd
- https://go.dev/issue/62197cnnvd
- https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJcnnvd
- https://pkg.go.dev/vuln/GO-2023-2043cnnvd
- https://security.netapp.com/advisory/ntap-20231020-0009/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.6869cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan