—
GO-2026-4980
Escaper bypass leads to XSS in html/template
Quick fix
GO-2026-4980 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.25.10 Details
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
Are you affected?
Enter the version of the package you're using.