{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5160","published":"2026-04-15T06:16:13.860000Z","last_modified":"2026-06-17T10:58:31.247000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"report@snyk.io","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:yuin:goldmark:*:*:*:*:*:*:*:*","part":"a","vendor":"yuin","product":"goldmark","version_end_excluding":"1.7.17"}],"cpes_truncated":false,"vendors":["yuin"],"products":["yuin/goldmark"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-5320","ecosystem":"Go","name":"github.com/yuin/goldmark","purl":"pkg:golang/github.com/yuin/goldmark","ranges":[{"introduced":"0","fixed":"1.7.17"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-c97m-vxhj-p7j6","ecosystem":"Go","name":"github.com/yuin/goldmark/renderer/html","purl":"pkg:golang/github.com/yuin/goldmark/renderer/html","ranges":[{"introduced":"0","fixed":"1.7.17"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-5160/","html_en":"/en/cve/CVE-2026-5160/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5160","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5160"},"untrusted":{"vendor_name":"Yuin","product_name":"Goldmark","desc_en":"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&colon;alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.","affected":[],"references":[{"url":"https://github.com/yuin/goldmark/commit/cb46bbc4eca29d55aa9721e04ad207c23ccc44f9","tags":["Patch"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMYUINGOLDMARKRENDERERHTML-15838406","tags":["Mitigation","Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"suse","id":"SUSE-SU-2026:22994-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622994-1/","published":"2026-07-30T04:40:05+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for mcphost"}},{"source":"suse","id":"openSUSE-SU-2026:21480-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T04:39:49+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for mcphost"}}]}