Skip to content
7.3 High

CVE-2023-24539 Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts

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 and versions

Product Affected versions Fixed in
html/template 1.20 1.20.0-0 → < 1.20.4 1.20.4
html/template 1.19 earliest → < 1.19.9 1.19.9

References

Timeline

  1. Published
  2. Last modified
The 14 CVEs of html/template →
Track this CVE