GHSA-c97m-vxhj-p7j6 · 深刻度: medium · エコシステム: go — goldmark vulnerable to Cross-site Scripting (XSS)
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.
総合評価: CVE-2026-5160 は低リスク(27.7/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.29%、20 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.05% | 0.29% | +0.24% |
| 2 | 2026-05-17 | 0.04% | 0.05% | +0.01% |
| 3 | 2026-04-15 | — | 0.04% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.1 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-c97m-vxhj-p7j6 · 深刻度: medium · エコシステム: go — goldmark vulnerable to Cross-site Scripting (XSS)
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-5160 not yet assigned priority: Debian including 1 source packages (golang-github-yuin-goldmark), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-5160 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-5160 |
ubuntu
|
medium | CVE-2026-5160 medium priority: Ubuntu including 1 source packages (golang-github-yuin-goldmark), 6 status rows across 6 suites (focal, jammy, noble, questing, resolute, upstream): needs-triage 5, released 1. | https://ubuntu.com/security/CVE-2026-5160 |
| URL | タグ |
|---|---|
| https://github.com/yuin/goldmark/commit/cb46bbc4eca29d55aa9721e04ad207c23ccc44f9 | Patch |
| https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMYUINGOLDMARKRENDERERHTML-15838406 | Mitigation Third Party Advisory |