---
title: "CVE-2026-5160"
canonical_url: "https://pkgseek.com/security/CVE-2026-5160"
locale: "zh-CN"
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 严重级别为 CRITICAL，共索引 5 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: CRITICAL
- **受影响构建数**: 5
- **涉及发行版**: 2
- **已标明修复版本发行版**: 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 |
