CVE-2023-24539

published 11 May 2023 · updated 12 Nov 2026

Improper sanitization of CSS values in html/template

7.3HighCVSS 7.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.19.9 and 1.20.4.

Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.19.9, >=1.20.0-0 <1.20.41.19.9, 1.20.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-24539 severity on Zeptric[![CVE-2023-24539](https://zeptric.io/badge/cve/CVE-2023-24539.svg)](https://zeptric.io/cve/CVE-2023-24539)