# 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-5160
- Priority: Urgent
- CVSS: n/a (critical)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 15, 2026

## Description

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&colon;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

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | caddy Fedora 43 | 2.10.2-9.fc43 | [FEDORA-2026-3DC324BD9A](https://patchblox.com/security/data/fix/linux/fedora-2026-3dc324bd9a.md) | Jun 23, 2026 |
| Linux | caddy-debuginfo Fedora 43 | 2.10.2-9.fc43 | [FEDORA-2026-3DC324BD9A](https://patchblox.com/security/data/fix/linux/fedora-2026-3dc324bd9a.md) | Jun 23, 2026 |
| Linux | caddy-debugsource Fedora 43 | 2.10.2-9.fc43 | [FEDORA-2026-3DC324BD9A](https://patchblox.com/security/data/fix/linux/fedora-2026-3dc324bd9a.md) | Jun 23, 2026 |
| Linux | dnsx Fedora 43 | 1.3.0-1.fc43 | [FEDORA-2026-1C78E384E3](https://patchblox.com/security/data/fix/linux/fedora-2026-1c78e384e3.md) | Jul 17, 2026 |
| Linux | dnsx-debuginfo Fedora 43 | 1.3.0-1.fc43 | [FEDORA-2026-1C78E384E3](https://patchblox.com/security/data/fix/linux/fedora-2026-1c78e384e3.md) | Jul 17, 2026 |
| Linux | dnsx-debugsource Fedora 43 | 1.3.0-1.fc43 | [FEDORA-2026-1C78E384E3](https://patchblox.com/security/data/fix/linux/fedora-2026-1c78e384e3.md) | Jul 17, 2026 |
| Linux | golang-github-yuin-goldmark Debian 14 | 1.8.2-1 | [DEBIAN-CVE-2026-5160](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5160.md) | Apr 15, 2026 |
| Linux | govulncheck-vulndb opensuse-leap 16.0 | 0.0.20260723T184607-160000.1.1 | [OPENSUSE-SU-2026:21483-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21483-1.md) | Jul 30, 2026 |
| Linux | mcphost opensuse-leap 16.0 | 0.34.0-160000.3.1 | [OPENSUSE-SU-2026:21480-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21480-1.md) | Jul 30, 2026 |
| Linux | nuclei Fedora 43 | 3.11.0-1.fc43 | [FEDORA-2026-D36CA2DD19](https://patchblox.com/security/data/fix/linux/fedora-2026-d36ca2dd19.md) | Jul 13, 2026 |
| Linux | nuclei-debuginfo Fedora 43 | 3.11.0-1.fc43 | [FEDORA-2026-D36CA2DD19](https://patchblox.com/security/data/fix/linux/fedora-2026-d36ca2dd19.md) | Jul 13, 2026 |
| Linux | nuclei-debugsource Fedora 43 | 3.11.0-1.fc43 | [FEDORA-2026-D36CA2DD19](https://patchblox.com/security/data/fix/linux/fedora-2026-d36ca2dd19.md) | Jul 13, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
