HomeDefault status
unaffected
Any version before 1.25.10
affected
1.26.0-0 (semver) before 1.26.3
affected
Description
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.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version before 1.25.10
1.26.0-0 (semver) before 1.26.3
Credits
Mundur (https://github.com/M0nd0R)
References
groups.google.com/g/golang-announce/c/qcCIEXso47M