CVE-2026-39823: Bypass of meta content URL escaping causes XSS in html/template
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2026-39823?
CVE-2026-39823 is considered a moderate severity vulnerability due to its potential for XSS exploitation.
How do I fix CVE-2026-39823?
To fix CVE-2026-39823, ensure that URLs in the <meta> tag's <content> attribute are correctly escaped and avoid inserting ASCII whitespaces.
What software is affected by CVE-2026-39823?
CVE-2026-39823 affects the Go html/template package.
What type of vulnerability is CVE-2026-39823?
CVE-2026-39823 is a Cross-Site Scripting (XSS) vulnerability caused by improper URL escaping in <meta> elements.
Can CVE-2026-39823 be exploited remotely?
Yes, CVE-2026-39823 can be exploited remotely if an attacker can control the content of the <meta> tag.