Vulnerability
CVE-2026-5160
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.
845 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
AZL-83048
CVE-2026-5160 affecting package gh for versions less than 2.62.0-15
-
AZL-83060
CVE-2026-5160 affecting package telegraf for versions less than 1.31.0-19
- CGA-2254-hqv8-r744
- CGA-23f6-qp22-xc7w
- CGA-23pc-q5fj-x4v4
- CGA-24gp-vw29-3f7x
- CGA-24m5-h5qc-hp6q
- CGA-2528-m326-3qfr
- CGA-253p-pqjc-q4f9
- CGA-256r-jch8-x3jj
- CGA-265x-75mw-64xq
- CGA-26xx-5cfr-7jc2
- CGA-2795-c2p4-27j5
- CGA-27rv-4rrm-7hqf
- CGA-286w-f9q6-pvr5
- CGA-28vh-44jf-7g4p
- CGA-29qw-8g92-wjvm
- CGA-2fjf-jc95-q85q
- CGA-2fjw-89fq-xx67
- CGA-2fm3-r3h4-rcm9
- CGA-2gqm-4cch-g2cc
- CGA-2h59-wmg7-f97g
- CGA-2hc4-r4f5-wwf5
- CGA-2j5r-9q5g-5rq4
- CGA-2j5x-458p-325v
- CGA-2j8p-93fv-p39q
- CGA-2jrh-7m34-9523
- CGA-2m4m-q9jx-3xrh
- CGA-2mf4-p5qw-3j63
- CGA-2pgc-8hqf-x9rw
- CGA-2r43-8m32-2f99
- CGA-2rc3-97r8-8wpv
- CGA-2rpx-qmcr-xgqv
- CGA-2v5m-g3p4-7g35
- CGA-2vmq-24vp-vmq6
- CGA-2w36-cw29-p273
- CGA-2wg3-jcc6-48qp
- CGA-3363-p8hq-mc96
- CGA-34qh-fq2q-g37v
- CGA-35hv-cg7m-643x
- CGA-35mg-63cc-c478
- CGA-35v8-xfwm-cp69
- CGA-35vh-624m-4p9r
- CGA-37gj-2hvf-22jq
- CGA-37p4-cfwh-xccr
- CGA-37pp-72c9-5q7g
- CGA-37qp-pm8m-cccv
- CGA-37vx-5g7c-7gw9
- CGA-383q-783c-8hm5
- CGA-38x4-247x-2rjm
- CGA-397r-wm2m-3pxp
- CGA-39qx-v8gm-3q57
- CGA-3c89-653m-v2r4
- CGA-3c9q-hcj4-c2v3
- CGA-3cwq-q7gw-vfvq
- CGA-3f48-5p2f-jh7p
- CGA-3fv3-m976-pp8w
- CGA-3gxh-7p9p-wwcg
- CGA-3hj2-686q-99x3
- CGA-3j6h-h52x-pcvj
- CGA-3jj5-qq3x-xvg8
- CGA-3jrm-mgg8-24jh
- CGA-3m5j-9vjh-q8cr
- CGA-3p27-gfr9-rrj7
- CGA-3p7w-rvw8-h2qq
- CGA-3pqq-j35r-fcmj
- CGA-3qj9-3x2w-q93c
- CGA-3r87-q4cr-3h74
- CGA-3r93-xx23-j4xm
- CGA-3vf2-c3jw-c9vv
- CGA-3x49-c2h3-3w6w
- CGA-3x6m-r7rc-x9c5
- CGA-3xc4-jw78-v8p3
- CGA-3xm8-m2v8-pv4p
- CGA-42jr-f7qg-x8cm
- CGA-437q-h55m-2hvr
- CGA-439v-v9qq-w4mj
- CGA-43jj-jj9r-78wm
- CGA-43qj-v7h6-wgjg
- CGA-44cq-2qqh-mwpj
- CGA-44r2-6mxg-j4g2
- CGA-45g7-89g5-x7j4
- CGA-478r-g5jw-vch9
- CGA-47fw-7c4q-qc44
- CGA-47mf-5rh5-f8jw
- CGA-47xg-wq43-mfhg
- CGA-48ch-f7cm-m55r
- CGA-48wp-hx59-qhh8
- CGA-4952-88p4-5jmh
- CGA-4c8c-3jv7-pxvf
- CGA-4c8f-pcx3-v24q
- CGA-4cfr-r664-8g22
- CGA-4f62-jgm5-2fjp
- CGA-4fp4-hq54-q5f4
- CGA-4g5p-pgvx-jp48
- CGA-4gcv-qhjw-7j5w
- CGA-4gg9-6rm6-xmvh
- CGA-4gv6-hfmw-gj2j
- CGA-4gx7-p68r-28q5
- CGA-4hh5-v5gp-gh3g
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-5160.