no-interpolation-in-tag
no-interpolation-js-template-string
no-direct-write-to-responsewriter
no-io-writestring-to-responsewriter
no-fprintf-to-responsewriter
no-printf-in-responsewriter
import-text-template
text/template
package does not automatically escape HTML content, which can leave your application vulnerable to these types of attacks. To mitigate this risk, it’s recommended to use the html/template
package instead, which provides built-in functionality for HTML escaping. By using html/template
to render your HTML content, you can help to ensure that your web application is more secure and less susceptible to XSS vulnerabilities.unsafe-template-type