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 in Wolfi
- CGA-24m5-h5qc-hp6q
- CGA-29qw-8g92-wjvm
- CGA-2fjf-jc95-q85q
- CGA-3f48-5p2f-jh7p
- CGA-3vf2-c3jw-c9vv
- CGA-44r2-6mxg-j4g2
- CGA-4gv6-hfmw-gj2j
- CGA-4gx7-p68r-28q5
- CGA-4r77-mhjf-3p9g
- CGA-4xxq-gghp-jxrp
- CGA-5cmx-w3fx-r982
- CGA-5mfq-rg33-4cgf
- CGA-5pgg-rh36-jc26
- CGA-5q3x-r4pw-56m8
- CGA-5xj2-4cx5-5fg9
- CGA-6554-h8j5-r8c3
- CGA-66p6-gm68-m9xx
- CGA-74xp-vqgq-7v4v
- CGA-759p-q2vw-f7qr
- CGA-78rh-pjj4-cxrh
- CGA-79wf-p3jg-qw8m
- CGA-7f2q-j6q2-w768
- CGA-879h-ww8v-c7p2
- CGA-8r5r-p729-597x
- CGA-8x5h-8746-3x4v
- CGA-93w7-whww-jgwp
- CGA-95qj-mh32-v8r2
- CGA-9c5m-54mh-5rmj
- CGA-9fhm-9mv7-2vcj
- CGA-9m45-x5h5-xfqh
- CGA-9vgh-c6fq-6wrc
- CGA-c222-vqp2-rwmj
- CGA-c3gm-hw7w-6v6m
- CGA-cf2v-cg5c-468p
- CGA-cv78-pxq3-jfg6
- CGA-f478-m6rj-vwhp
- CGA-f5f4-mjrr-x62r
- CGA-fh2x-x72x-qhg4
- CGA-gh79-p83m-3ph3
- CGA-gj6q-c27c-f94q
- CGA-gpj3-jmh4-4953
- CGA-gxp3-cxhj-c334
- CGA-h3px-hjgj-8h67
- CGA-h4fh-f8fw-wgmp
- CGA-h535-8xhg-xqqf
- CGA-h72c-vmf6-gw3m
- CGA-h8w4-gchv-62rc
- CGA-hm9p-fx5f-4pgm
- CGA-j358-8m5m-2586
- CGA-j4jj-r4vr-g786
- CGA-jrvf-q8hw-48vp
- CGA-mp37-6jg2-pf5f
- CGA-mr9g-xg39-6323
- CGA-mwmc-m5hp-33x6
- CGA-mxgv-4fmw-hhh5
- CGA-pgvr-mw9h-pgmh
- CGA-ph26-c4qv-rjxj
- CGA-phh3-p95p-995h
- CGA-prv7-j526-2vx5
- CGA-pvxf-hx7r-fw64
- CGA-q8w8-g2cr-2c6p
- CGA-qc2m-59m7-4j7q
- CGA-qcr9-hw2j-4w76
- CGA-qj3f-wvpv-cgf8
- CGA-qr62-ghq5-5jgq
- CGA-qvrc-rgpj-3796
- CGA-qwjv-w7g2-pjww
- CGA-r4f8-747w-cr97
- CGA-rv39-m8pv-878f
- CGA-v779-cf7f-q266
- CGA-vvxg-6vv3-3j5w
- CGA-w6mf-xgx2-2q8c
- CGA-wc7m-rfg2-95f9
- CGA-whff-vmjj-433m
- CGA-wmxm-m4rh-v6qm
- CGA-wvm5-x5vw-w8qq
- CGA-wwh2-cwm8-gx5m
- CGA-xfxh-fpx5-86h7
- CGA-xh3c-xr2c-2qr9
- CGA-xpv9-wh7h-qqhp
- CGA-xqcq-qp27-53f7
- CGA-xqcw-v27g-3j4h
- CGA-xqpc-jf44-v32f
- CGA-xx22-h7x8-895j