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 Fedora
-
FEDORA-2026-10cf6ce616
gum-0.17.0-3.fc44
-
FEDORA-2026-1c78e384e3
dnsx-1.3.0-1.fc43
-
FEDORA-2026-3a8abe43fb
nuclei-3.11.0-1.fc44
-
FEDORA-2026-3dc324bd9a
caddy-2.10.2-9.fc43
-
FEDORA-2026-902340971e
dnsx-1.3.0-1.fc44
-
FEDORA-2026-950cac64f2
caddy-2.10.2-9.fc44
-
FEDORA-2026-d36ca2dd19
nuclei-3.11.0-1.fc43