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.