Kurz gesagt
- CVE-2026-27142 ist eine Schwachstelle (MITTEL (CVSS 6.1)) in stdlib, go (golang).
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.37%, höher als bei 31.4% aller Schwachstellen.
- Abhilfe: auf 1.26.1, 1.25.8 oder neuer aktualisieren.
| 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