CVE-2026-5160
CVE-2026-5160
CVSS 5.1 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- github.com/yuin/goldmark/renderer/htmlUpdate to 1.7.17
- golang-github-yuin-goldmark Debian 12No fix published
- golang-github-yuin-goldmark Debian 13No fix published
- golang-github-yuin-goldmark Debian 14Update to 1.8.2-1
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-yuin-goldmark"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:22994-1 · SUSE Linux Micro 6.2 ·
- openSUSE-SU-2026:21480-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2026:11366-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
github.com/yuin/goldmark/renderer/html
- Versions
- ≥ 0, < 1.7.17: Affected (semver)
Update to 1.7.17
golang-github-yuin-goldmark Debian 12
- Versions
- 1.5.4-1
- 1.5.5-1
- 1.5.6-1
- 1.6.0-1
- 1.7.0-1
- 1.7.1-1
All versions (10)
- 1.7.13-1
- 1.7.4-1
- 1.8.2-1
- 1.8.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Debian 13
- Versions
- 1.7.13-1
- 1.7.4-1
- 1.8.2-1
- 1.8.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Debian 14
- Versions
- 1.7.13-1
- 1.7.4-1
- Affected ranges
- ECOSYSTEM: < 1.8.2-1
Update to 1.8.2-1
golang-github-yuin-goldmark Ubuntu 20.04 LTS
- Versions
- 1.1.12-1
- 1.1.12-2
- 1.1.18-1
- 1.1.21-1
- 1.1.23-1
- 1.1.25-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Ubuntu 22.04 LTS
- Versions
- 1.3.2-1
- 1.4.2-1
- 1.4.3-1
- 1.4.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Ubuntu 24.04 LTS
- Versions
- 1.5.4-1
- 1.5.6-1
- 1.6.0-1
- 1.7.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Ubuntu 25.10
- Versions
- 1.7.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Ubuntu 26.10
- Versions
- 1.7.13-1
- 1.8.2-1
- 1.8.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-github-yuin-goldmark Ubuntu 26.04 LTS
- Versions
- 1.7.4-1
- 1.7.13-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published