CVE-2023-24539

Improper sanitization of CSS values in html/template

HIGH
7.3
CVSS Score
Published: May 11, 2023 at 03:29 PM UTC
Updated: June 17, 2026 at 05:39 AM UTC
2 products affected across 2 vendorsGoGo

Using html/template by Go standard library?

Get instant alerts when new vulnerabilities affect html/template - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 1%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.19.91.20.0 ≤ v < 1.20.4
Affected range stops below 1.19.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.20.4, so it looks safe — our inference, not a vendor statement
v < 1.19.91.20.0-0 ≤ v < 1.20.41.20.0-0
Affected range stops below 1.19.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.20.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.3HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card