CVE-2023-24539: Improper sanitization of CSS values in html/template

0.0 CVSS

Description

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.

Classification

CVE ID: CVE-2023-24539

CVSS Base Severity: LOW

CVSS Base Score: 0.0

Affected Products

Vendor: Go standard library

Product: html/template

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.1% (probability of being exploited)

EPSS Percentile: 43.06% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://go.dev/issue/59720
https://go.dev/cl/491615
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
https://pkg.go.dev/vuln/GO-2023-1751

Timeline