In short
- CVE-2026-27142 is a MEDIUM (CVSS 6.1) vulnerability affecting stdlib, go (golang).
- Chance of exploitation in the next 30 days (EPSS): 0.37%, higher than 31.4% of all vulnerabilities.
- Fix: update to 1.26.1, 1.25.8 or later.
| Package | Affected versions | Patched versions |
|---|
| stdlib Go | ≥ 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
|
Description
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.
NVD description
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