Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39823: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Go standard library html/template

0
Medium
VulnerabilityCVE-2026-39823cvecve-2026-39823cwe-79
Published: Thu May 07 2026 (05/07/2026, 19:41:19 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: html/template

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 20:21:59 UTC

Technical Analysis

This vulnerability involves improper neutralization of input during web page generation in the Go standard library's html/template package. Specifically, URLs within a <meta> tag's <content> attribute are not correctly escaped if ASCII whitespaces surround the '=' rune, causing the escaping mechanism to fail and enabling cross-site scripting (CWE-79). The issue was related to a previous CVE-2026-27142 fix but remains present in affected versions up to 1.26.0-0. No CVSS score or remediation level is currently available.

Potential Impact

The vulnerability allows an attacker to inject malicious scripts via specially crafted URLs in the <meta> tag's <content> attribute, potentially leading to cross-site scripting attacks. This can result in client-side script execution in the context of the vulnerable application, which may compromise user data or session integrity. However, no known exploits are currently reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when processing untrusted input in the html/template package, particularly in <meta> tag content attributes. Monitor official Go project communications for updates on patches or workarounds.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-07T18:13:03.527Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69fcf0c1cbff5d86102bd5cb

Added to database: 5/7/2026, 8:06:25 PM

Last enriched: 5/7/2026, 8:21:59 PM

Last updated: 5/8/2026, 8:48:58 PM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses