The html/template package does not apply the proper rules...
Moderate severity
Unreviewed
Published
Sep 8, 2023
to the GitHub Advisory Database
•
Updated Dec 4, 2023
Description
Published by the National Vulnerability Database
Sep 8, 2023
Published to the GitHub Advisory Database
Sep 8, 2023
Last updated
Dec 4, 2023
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.
References