CVE 6.1 MEDIUM

Bypass of meta content URL escaping causes XSS in html/template_CVE-2026-39823

6.1 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-39823
Source Go
Published May 7, 2026 at 19:41
Modified May 8, 2026 at 14:05

Affected Product

Vendor Go standard library
Product html/template
Affected Versions Go standard library html/template 0
Go standard library html/template 1.26.0-0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.