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.2%top 87%

CVE-2026-27136: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in golang.org/x/net golang.org/x/net/html

0
Medium
VulnerabilityCVE-2026-27136cvecve-2026-27136cwe-79
Published: 05/22/2026 (05/22/2026, 15:01:22 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/net
Product: golang.org/x/net/html

Description

CVE-2026-27136 is a medium severity vulnerability in the golang.org/x/net/html package where parsing arbitrary HTML and rendering it using the Render function can produce an unexpected HTML tree. This behavior may be exploited to perform cross-site scripting (XSS) attacks in applications that rely on this package to sanitize input HTML before rendering. The vulnerability involves improper neutralization of input during web page generation (CWE-79). No official patch or remediation guidance is currently available from the vendor, and no known exploits are reported in the wild.

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

golang.org/x/net/html
pkg:golang/golang.org/x/net/html
Affected versions
=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: 05/31/2026, 21:02:46 UTC

Technical Analysis

The golang.org/x/net/html package contains a vulnerability (CVE-2026-27136) related to improper input neutralization during HTML parsing and rendering. When arbitrary HTML is parsed and then rendered using the Render function, the resulting HTML tree may be unexpected, potentially allowing cross-site scripting attacks in applications that attempt to sanitize HTML input using this package. The CVSS 3.1 base score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity with no impact on availability. There is no vendor advisory or patch available at this time.

Potential Impact

Successful exploitation can lead to cross-site scripting (XSS) attacks, which may allow an attacker to execute arbitrary scripts in the context of the affected application. This can result in limited confidentiality and integrity impact as indicated by the CVSS vector. There is no indication of availability impact. 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 available, users should exercise caution when using golang.org/x/net/html to sanitize untrusted HTML input and consider additional layers of input validation or sanitization outside this package. Monitor vendor communications for updates on patches or official 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-02-17T19:57:28.434Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1079f0e1370fbb48159daa

Added to database: 05/22/2026, 15:44:48 UTC

Last enriched: 05/31/2026, 21:02:46 UTC

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

Views: 68

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