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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-56858— Fix Javascript regexp context tracking 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 1.25.13之前版本、1.26.0-0至1.26.6之前版本和1.27.0-0至1.27.0-rc.3之前版本存在跨站脚本漏洞,该漏洞源于未转义的'/'被过早关闭,可能导致攻击者注入任意内容,造成跨站脚本攻击。

AI Predicted 6.1 Difficulty: Easy EPSS 0.31% · P22

Affected Version Matrix 3

VendorProduct Version RangeStatus
Go standard library html/template < 1.25.13 affected
1.26.0-0< 1.26.6 affected
1.27.0-0< 1.27.0-rc.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56858

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
Fix Javascript regexp context tracking in html/template
Source: CVE Program / CVE List V5
Vulnerability Description
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
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 1.25.13之前版本、1.26.0-0至1.26.6之前版本和1.27.0-0至1.27.0-rc.3之前版本存在跨站脚本漏洞,该漏洞源于未转义的'/'被过早关闭,可能导致攻击者注入任意内容,造成跨站脚本攻击。
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.13 -

II. Public POCs for CVE-2026-56858

# 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-56858

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

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

Vendor Advisories for CVE-2026-56858 (2)

News Coverage for CVE-2026-56858 (1)

Same Patch Batch · Go standard library · 2026-08-13 · 6 CVEs total

CVE-2026-56862 Limit handshake messages we are willing to accept post-handshake in crypto/tls
CVE-2026-56859 Add recursion depth guard during decode in encoding/xml
CVE-2026-56853 Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
CVE-2026-56860 Avoid quadratic complexity in resolvePath in net/url
CVE-2026-33818 Enforce maximum recursion depth in encoding/asn1

IV. Related Vulnerabilities

V. Comments for CVE-2026-56858

No comments yet


Leave a comment