GHSA-p4x4-rw2p-8j8m · 深刻度: high · エコシステム: rubygems — Cross-site Scripting in Sanitize
In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config or a custom config that allows one or more of the following HTML elements: iframe, math, noembed, noframes, noscript, plaintext, script, style, svg, xmp. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize, potentially resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. This has been fixed in 5.2.1.
総合評価: CVE-2020-4054 は中リスク(57.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.85%、76 パーセンタイル) 根拠: 直近 1 日で EPSS が +1.37% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.48% | 1.85% | +1.37% |
| 2 | 2025-03-30 | 1.64% | 0.48% | -1.16% |
| 3 | 2025-03-29 | — | 1.64% | — |
EPSS の全履歴 (全 9 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.3 | 3.1 | HIGH |
|
3.9 | 3.4 | [email protected] |
| 7.3 | 3.1 | HIGH |
|
3.9 | 3.4 | [email protected] |
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
GHSA-p4x4-rw2p-8j8m · 深刻度: high · エコシステム: rubygems — Cross-site Scripting in Sanitize
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2020-4054 not yet assigned priority: Debian including 1 source packages (ruby-sanitize), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2020-4054 |
ubuntu
|
medium | CVE-2020-4054 medium priority: Ubuntu including 1 source packages (ruby-sanitize), 17 status rows across 17 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 11, needs-triage 3, DNE 1, ignored 1, released 1. | https://ubuntu.com/security/CVE-2020-4054 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| sanitize_project | sanitize | >= 3.0.0, < 5.2.1 | cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:* |
| URL | タグ |
|---|---|
| https://github.com/rgrove/sanitize/commit/a11498de9e283cd457b35ee252983662f7452aa9 | Patch Third Party Advisory |
| https://github.com/rgrove/sanitize/releases/tag/v5.2.1 | Release Notes Third Party Advisory |
| https://github.com/rgrove/sanitize/security/advisories/GHSA-p4x4-rw2p-8j8m | Third Party Advisory |
| https://usn.ubuntu.com/4543-1/ | |
| https://www.debian.org/security/2020/dsa-4730 |