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…
EPSS 0.3%top 76%

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: 05/07/2026 (05/07/2026, 19:41:19 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: html/template

Description

CVE-2026-39823 is a medium severity cross-site scripting (XSS) vulnerability in the Go standard library's html/template package. The issue arises from improper escaping of URLs within a <meta> tag's content attribute when ASCII whitespaces surround the '=' character, which allows partial bypass of escaping. This affects Go versions up to 1.26.0-0. No official patch or remediation guidance has been confirmed by the vendor, and no known exploits exist in the wild at this time.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

github.com/golang/go/html/template
pkg:golang/github.com/golang/go/html/template
Affected versions
=0=1.26.0-0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 17:18:52 UTC

Technical Analysis

This vulnerability in the Go standard library html/template package (CVE-2026-39823) involves improper neutralization of input during web page generation, specifically improper escaping of URLs in <meta> tag content attributes when ASCII whitespace surrounds the '=' character. This flaw enables partial bypass of escaping mechanisms, leading to a cross-site scripting (XSS) vulnerability. It affects Go versions from initial releases up to and including 1.26.0-0. There is no official remediation or patch available as of the published date, and no known active exploitation has been reported.

Potential Impact

Successful exploitation could allow an attacker to inject and execute arbitrary scripts in the context of a vulnerable application using the affected Go html/template package, potentially leading to information disclosure or user session compromise. The CVSS score of 6.1 reflects a medium severity with network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact. There are no known exploits in the wild currently.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should carefully review usage of the html/template package with respect to URL escaping in <meta> tags and consider applying manual input validation or escaping workarounds if feasible. Monitor official Go project communications for updates on patches or mitigations.

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: 05/07/2026, 20:06:25 UTC

Last enriched: 06/24/2026, 17:18:52 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 95

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