CVE-2023-24539
JSON

7.3high

Improper sanitization of CSS values in html/template

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.03% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2023-1751BIT-GOLANG-2023-24539

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

Product or packageVersionsReported by
html/templatebefore 1.19.9, from 1.20.0-0 before 1.20.4CVE List
stdlib (Go)before 1.19.9, from 1.20.0-0 before 1.20.4Go Vulnerability Database
golang gobefore 1.19.9, from 1.20.0 before 1.20.4NVD
golang (Bitnami)before 1.19.9, from 1.20.0 before 1.20.4Bitnami Vulnerability Database

All scores

CISA-ADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-74CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-24539 changed 2025-01-24CVE Terms of Use
Go Vulnerability DatabaseGO-2023-1751 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-24539 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2023-24539 changed 2026-09-08Apache-2.0