| Package | Affected versions | Patched versions |
|---|---|---|
| stdlib | ≥ 1.26.0-0, < 1.26.1< 1.25.8 | 1.26.11.25.8 |
| go | = 1.26.0< 1.25.8 | 1.25.8 |
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh".
A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free