PT-2026-33004
CVE-2026-5160
·
Published
2026-04-15
·
Updated
2026-10-30
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
github.com/yuin/goldmark/renderer/html versions prior to 1.7.17
Description
Improper ordering of URL validation and normalization allows Cross-site Scripting (XSS). The renderer performs a prefix-based check using the
IsDangerousURL() function to validate link destinations before resolving HTML entities. An attacker can bypass protocol filtering by encoding dangerous schemes with HTML5 named character references, such as using javascript:alert(1), which results in arbitrary script execution when the application renders the URL.Recommendations
Update to version 1.7.17 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾