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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39826— Escaper bypass leads to XSS in html/template

Quick assessment

Affected
Go standard library html/template
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go存在安全漏洞,该漏洞源于当script标签包含空type属性或带有ASCII空格的type属性时,模板执行会错误转义传入script块的数据。

AI Predicted 4.3 Difficulty: Moderate EPSS 0.39% · P31

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 2

VendorProduct Version RangeStatus
Go standard library html/template < 1.25.10 affected
1.26.0-0< 1.26.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39826

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
Escaper bypass leads to XSS in html/template
Source: CVE Program / CVE List V5
Vulnerability Description
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
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存在安全漏洞,该漏洞源于当script标签包含空type属性或带有ASCII空格的type属性时,模板执行会错误转义传入script块的数据。
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

Vendor Product Affected Versions CPE Subscribe
Go standard library html/template 0 ~ 1.25.10 -

II. Public POCs for CVE-2026-39826

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39826

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-39826 (1)

Proof of Concept for CVE-2026-39826 (1)

Vendor Pages for CVE-2026-39826 (1)

Same Patch Batch · Go standard library · 2026-05-07 · 7 CVEs total

CVE-2026-42499 Quadratic string concatenation in consumePhrase in net/mail
CVE-2026-39836 Panic in Dial and LookupPort when handling NUL byte on Windows in net
CVE-2026-39825 ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/http
CVE-2026-39823 Bypass of meta content URL escaping causes XSS in html/template
CVE-2026-39820 Quadratic string concatentation in consumeComment in net/mail
CVE-2026-33811 Crash when handling long CNAME response in net

IV. Related Vulnerabilities

V. Comments for CVE-2026-39826

No comments yet


Leave a comment