Skip to content
CVE PROGRAM SOURCE RECORD7.3 High

CVE-2023-24539

Improper sanitization of CSS values in html/template

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library html/template

Default version status: unaffected

  • 0 to < 1.19.9affected
  • 1.20.0-0 to < 1.20.4affected

References