GHSA-c97m-vxhj-p7j6
MEDIUMCVE-2026-5160Versions 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 name
- Affected
- >=0, <1.7.17
- Fixed in
- 1.7.17
- Weakness
- CWE-79
- Published
- 2026-04-17
- Source
- github