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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-5160

Quick assessment

Affected
n/a github.com/yuin/goldmark/renderer/html
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.

goldmark是Yusuke Inuzuka个人开发者的一个Go语言编写的Markdown解析器。 goldmark 1.7.17之前版本存在安全漏洞,该漏洞源于URL验证和规范化顺序不当,可能导致跨站脚本攻击。

CVSS 6.1 · Medium EPSS 0.29% · P21
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5160

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript:alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
goldmark 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goldmark是Yusuke Inuzuka个人开发者的一个Go语言编写的Markdown解析器。 goldmark 1.7.17之前版本存在安全漏洞,该漏洞源于URL验证和规范化顺序不当,可能导致跨站脚本攻击。
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
- github.com/yuin/goldmark/renderer/html 0 ~ 1.7.17 -

II. Public POCs for CVE-2026-5160

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

登录查看更多情报信息。

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

Same Patch Batch · n/a · 2026-04-15 · 14 CVEs total

CVE-2026-30617 LangChain-Chatchat 安全漏洞
CVE-2026-30995 Slah CMS 安全漏洞
CVE-2026-30996 SoftSul SAC-NFe 安全漏洞
CVE-2026-30624 Agent Zero 安全漏洞
CVE-2026-30615 Windsurf 安全漏洞
CVE-2026-30461 FUEL CMS 安全漏洞
CVE-2026-30364 CentSDR 安全漏洞
CVE-2026-30994 Slah CMS 安全漏洞
CVE-2026-30616 Jaaz 安全漏洞
CVE-2026-30993 Slah CMS 安全漏洞
CVE-2026-30625 Upsonic 安全漏洞
CVE-2024-53412 Shopping Cart 安全漏洞
CVE-2025-67841 Nordic Semiconductor IronSide SE 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-5160

No comments yet


Leave a comment