CVE-2026-5160

golang-github-yuin-goldmark: Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (...

CVE-2026-5160 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2026-5160, released April 15, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
n/a
critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0029
21st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
caddy · Fedora 43 2.10.2-9.fc43 FEDORA-2026-3DC324BD9A Jun 23, 2026
caddy-debuginfo · Fedora 43 2.10.2-9.fc43 FEDORA-2026-3DC324BD9A Jun 23, 2026
caddy-debugsource · Fedora 43 2.10.2-9.fc43 FEDORA-2026-3DC324BD9A Jun 23, 2026
dnsx · Fedora 43 1.3.0-1.fc43 FEDORA-2026-1C78E384E3 Jul 17, 2026
dnsx-debuginfo · Fedora 43 1.3.0-1.fc43 FEDORA-2026-1C78E384E3 Jul 17, 2026
dnsx-debugsource · Fedora 43 1.3.0-1.fc43 FEDORA-2026-1C78E384E3 Jul 17, 2026
golang-github-yuin-goldmark · Debian 14 1.8.2-1 DEBIAN-CVE-2026-5160 Apr 15, 2026
govulncheck-vulndb · opensuse-leap 16.0 0.0.20260723T184607-160000.1.1 OPENSUSE-SU-2026:21483-1 Jul 30, 2026
mcphost · opensuse-leap 16.0 0.34.0-160000.3.1 OPENSUSE-SU-2026:21480-1 Jul 30, 2026
nuclei · Fedora 43 3.11.0-1.fc43 FEDORA-2026-D36CA2DD19 Jul 13, 2026
nuclei-debuginfo · Fedora 43 3.11.0-1.fc43 FEDORA-2026-D36CA2DD19 Jul 13, 2026
nuclei-debugsource · Fedora 43 3.11.0-1.fc43 FEDORA-2026-D36CA2DD19 Jul 13, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.