{"id":"EUVD-2026-22836","revision":"9b0bd88bf6ca459bad5b38fa5bc996e4","records":[{"revision":"9b0bd88bf6ca459bad5b38fa5bc996e4","observedAt":"2026-11-07T11:35:20.396+00:00","statement":{"source":"euvd","id":"EUVD-2026-22836","aliases":["CVE-2026-5160","GHSA-c97m-vxhj-p7j6"],"title":"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-…","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&colon;alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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","score":5.1,"severity":null}],"references":["https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMYUINGOLDMARKRENDERERHTML-15838406","https://github.com/yuin/goldmark/commit/cb46bbc4eca29d55aa9721e04ad207c23ccc44f9"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-22836","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 15, 2026, 5:00:01 AM","dateUpdated":"Apr 15, 2026, 6:07:10 PM"},"relatedAdvisories":[{"id":"SUSE-SU-2026:22994-1","title":"Security update for mcphost","vulnerabilityIds":["CVE-2026-39821","CVE-2026-5160","CVE-2026-56852"]},{"id":"openSUSE-SU-2026:21480-1","title":"Security update for mcphost","vulnerabilityIds":["CVE-2026-39821","CVE-2026-5160","CVE-2026-56852"]},{"id":"msrc_CVE-2026-5160","title":"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.","vulnerabilityIds":["CVE-2026-5160"]},{"id":"openSUSE-SU-2026:11366-1","title":"mcphost-0.34.0-9.1 on GA media","vulnerabilityIds":["CVE-2026-5160","CVE-2026-56852"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-22836","identifiers":["EUVD-2026-22836","CVE-2026-5160","GHSA-c97m-vxhj-p7j6"]},"retained":false,"historicalAffected":[]}],"coverage":[]}