---
title: "CVE-2026-5160"
canonical_url: "https://pkgseek.com/security/CVE-2026-5160"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# 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&colon;alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications …

CVE-2026-5160 is rated CRITICAL, with 5 indexed affected package builds across 2 distributions.

- **Severity / Score**: CRITICAL
- **Affected builds**: 5
- **Affected distros**: 2
- **Distros with fixed_in**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | golang-github-yuin-goldmark-dev | 1.7.4-1 | — |
| Fedora | 43 | caddy | 2.10.2-1.fc43 | 2.10.2-9.fc43 |
| Fedora | 43 | dnsx | 1.2.2-5.fc43 | 1.3.0-1.fc43 |
| Fedora | 44 | dnsx | 1.2.2-6.fc44 | 1.3.0-1.fc44 |
| Fedora | 44 | gum | 0.17.0-1.fc44 | 0.17.0-3.fc44 |
