Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-42502— Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html

AI Predicted 6.1 Difficulty: Easy EPSS 0.22% · P13

Possible ATT&CK Techniques 1AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

VendorProductVersion RangeStatus
golang.org/x/netgolang.org/x/net/html< 0.55.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42502

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
Source: CVE Program / CVE List V5
Vulnerability Description
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Google Go 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于解析任意HTML后使用Render渲染可能导致意外的HTML树,可能被利用执行跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
golang.org/x/netgolang.org/x/net/html 0 ~ 0.55.0 -

II. Public POCs for CVE-2026-42502

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42502

登录查看更多情报信息。

Patches & Fixes for CVE-2026-42502 (1)

Vendor Advisories for CVE-2026-42502 (2)

News Coverage for CVE-2026-42502 (1)

Same Patch Batch · golang.org/x/net · 2026-05-22 · 5 CVEs total

CVE-2026-25680Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/
CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net
CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html

IV. Related Vulnerabilities

V. Comments for CVE-2026-42502

No comments yet


Leave a comment