CVE-2023-39318

Improper handling of HTML-like comments in script contexts in html/template

published September 8, 2023

CVSS
—
EPSS
1%
Percentile
60.2
In the wild
Unconfirmed
What it is

The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00930 · 60.2th percentile
Published
2023-09-08T16:13Z
EPSS history
Timeline
  • 08 SEP 16:13Z
    Improper handling of HTML-like comments in script contexts in html/template
    cvelistv5