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
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.
AI Analysis
Technical Summary
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.
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
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.