You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
html/template: improper handling of JavaScript whitespace #59721
Not all valid JavaScript whitespace characters were considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
Thanks to Juho Nurminen of Mattermost for reporting this issue.
Activity
neild commentedon Apr 24, 2023
@gopherbot please open backport issues for this security fix
gopherbot commentedon Apr 24, 2023
Backport issue(s) opened: #59813 (for 1.19), #59814 (for 1.20).
Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.
gopherbot commentedon May 2, 2023
Change https://go.dev/cl/491355 mentions this issue:
[release-branch.go1.19] html/template: handle all JS whitespace charactersgopherbot commentedon May 2, 2023
Change https://go.dev/cl/491356 mentions this issue:
[release-branch.go1.20] html/template: handle all JS whitespace characters[release-branch.go1.19] html/template: handle all JS whitespace chara…
[release-branch.go1.20] html/template: handle all JS whitespace chara…
[-]security: fix CVE-2023-24540[/-][+]html/template: improper handling of JavaScript whitespace[/+]gopherbot commentedon May 2, 2023
Change https://go.dev/cl/491616 mentions this issue:
html/template: handle all JS whitespace characters[release-branch.go1.20] html/template: handle all JS whitespace chara…
[release-branch.go1.20] html/template: handle all JS whitespace chara…
html/template: handle all JS whitespace characters