html/template: fix escaping of URLs in meta content attributes
The WHATWG "shared declarative refresh steps" algorithm (§4.2.5.3)
skips ASCII whitespace between "url" and "=" when parsing the URL
portion of a meta content attribute.
Thank you to Samy Ghannad for reporting this issue.
Updates #78913
Fixes CVE-2026-39823
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.25] html/template: fix escaping of URLs in meta content attributes
The WHATWG "shared declarative refresh steps" algorithm (§4.2.5.3)
skips ASCII whitespace between "url" and "=" when parsing the URL
portion of a meta content attribute.
Thank you to Samy Ghannad for reporting this issue.
Updates #78913
Fixes #79031
Fixes CVE-2026-39823
Change-Id: I7fc3bb9394b95e07b9b10fbc95725a3de6791774
Reviewed-on: https://go-review.googlesource.com/c/go/+/769920
Reviewed-by: Roland Shoemaker <rol...@golang.org>
TryBot-Bypass: Roland Shoemaker <rol...@golang.org>
(cherry picked from commit f2ec1254ff32fa39f3ce4faf72bbe44eeeeebad9)
Reviewed-on: https://go-review.googlesource.com/c/go/+/772101
LUCI-TryBot-Result: golang...@luci-project-accounts.iam.gserviceaccount.com <golang...@luci-project-accounts.iam.gserviceaccount.com>
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.26] html/template: fix escaping of URLs in meta content attributes
The WHATWG "shared declarative refresh steps" algorithm (§4.2.5.3)
skips ASCII whitespace between "url" and "=" when parsing the URL
portion of a meta content attribute.
Thank you to Samy Ghannad for reporting this issue.
Updates #78913
Fixes #79032
Fixes CVE-2026-39823
Change-Id: I7fc3bb9394b95e07b9b10fbc95725a3de6791774
Reviewed-on: https://go-review.googlesource.com/c/go/+/769920
Reviewed-by: Roland Shoemaker <rol...@golang.org>
TryBot-Bypass: Roland Shoemaker <rol...@golang.org>
(cherry picked from commit f2ec1254ff32fa39f3ce4faf72bbe44eeeeebad9)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |