The html/template package does not properly handle HTML...
Moderate severity
Unreviewed
Published
Sep 8, 2023
to the GitHub Advisory Database
•
Updated Nov 25, 2023
Description
Published by the National Vulnerability Database
Sep 8, 2023
Published to the GitHub Advisory Database
Sep 8, 2023
Last updated
Nov 25, 2023
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.
References