PublishedCVE-2023-39319·
5.0Medium
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.20.8 and 1.21.1.
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.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.20.8, >=1.21.0-0 <1.21.1 | 1.20.8, 1.21.1 |
Every event on this vulnerability
A live severity badge for an advisory, README or ticket