CVSS 4.0
5.1 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:NMedium (5.1) in yuin goldmark. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/yuin/goldmark/renderer/html 1.7.17.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Ngithub.com/yuin/goldmark/renderer/html (Go): fixed in 1.7.17github.com/yuin/goldmark (Go): fixed in 1.7.17Explain CVE-2026-5160 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5160?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5160?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5160 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| yuin:goldmark | before 1.7.17 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c97m-vxhj-p7j6 | Go | github.com/yuin/goldmark/renderer/html | <1.7.17 | 1.7.17 |
| GO-2026-5320 | Go | github.com/yuin/goldmark | <1.7.17 | 1.7.17 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | golang-github-yuin-goldmark | no fix listed | DEBIAN-CVE-2026-5160 |
| Debian | 14 | golang-github-yuin-goldmark | 1.8.2-1 | DEBIAN-CVE-2026-5160 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 3 more | golang-github-yuin-goldmark | no fix listed | UBUNTU-CVE-2026-5160 |
| SUSE | Linux Micro 6.2 | mcphost | 0.34.0-160000.3.1 | SUSE-SU-2026:22994-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE | Leap 16.0 | mcphost | 0.34.0-160000.3.1 | openSUSE-SU-2026:21480-1 |
| openSUSE | Tumbleweed | mcphost | 0.34.0-9.1 | openSUSE-SU-2026:11366-1 |
| Azure Linux | 3 | gh | 2.62.0-15 | AZL-83048 |
| Azure Linux | 3 | telegraf | 1.31.0-19 | AZL-83060 |
| Alpaquita | 25 | osv-scanner | 2.1.0-r13 | BELL-CVE-2026-5160 |
| Alpaquita | stream | osv-scanner | 2.4.0-r3 | BELL-CVE-2026-5160 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.
Red Hat rates this Moderate.
This vulnerability is rated as Moderate as user interaction is required by accessing the maliciously crafted content in order to an attacker perform the exploit. A Cross-site Scripting (XSS) flaw exists in `github.com/yuin/goldmark/renderer/html` due to incorrect ordering of URL validation and HTML entity resolution. This allows an attacker to bypass protocol filtering by encoding dangerous schemes, leading to arbitrary script execution when a malicious URL is rendered.
To mitigate this vulnerability, avoid rendering untrusted content with applications utilizing `github.com/yuin/goldmark/renderer/html`. Ensure that all input processed by the affected component is thoroughly sanitized to prevent the injection of malicious HTML entities or dangerous URL schemes.
| Product | Package | State | Advisory |
|---|---|---|---|
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9 | Fix deferred | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operator | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5160.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.