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.
- CVSS:
- 6.1 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS:
- 0.37% (percentile 32.0)
- CWE:
- CWE-79
- Published:
- Modified:
- First seen:
- NVD status:
- Analyzed