Home

Description

CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.

PUBLISHED Reserved 2026-04-07 | Published 2026-05-07 | Updated 2026-05-08 | Assigner Go

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version before 1.25.10
affected

1.26.0-0 (semver) before 1.26.3
affected

Credits

Samy Ghannad

References

go.dev/issue/78913

go.dev/cl/769920

groups.google.com/g/golang-announce/c/qcCIEXso47M

pkg.go.dev/vuln/GO-2026-4982

cve.org (CVE-2026-39823)

nvd.nist.gov (CVE-2026-39823)

Download JSON