CVE-2020-4047 | Authenticated XSS via media attachment page in WordPress

In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).

公開: 2020-06-12 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2020-4047 は中リスク(56.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 3.62%、88 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2020-4047 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 5.57% 3.62% -1.94%
2 2026-03-04 6.18% 5.57% -0.62%
3 2026-03-01 6.18%

EPSS の全履歴 (全 39 件)

CVE-2020-4047 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.3 4.0 [email protected]
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.3 4.0 [email protected]
3.5 2.0 LOW
AV:N/AC:M/Au:S/C:N/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:S)
一度の認証(シングルサインオン含む)を突破すればよい。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
6.8 2.9 [email protected]

CVE-2020-4047 の弱点分類(列挙)

CVE-2020-4047 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2020-4047 not yet assigned priority: Debian including 1 source packages (wordpress), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2020-4047
ubuntu medium CVE-2020-4047 medium priority: Ubuntu including 1 source packages (wordpress), 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 6, ignored 5, needs-triage 4, DNE 1, released 1. https://ubuntu.com/security/CVE-2020-4047

CVE-2020-4047 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
wordpress wordpress >= 3.7, < 3.7.34 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 3.8, < 3.8.34 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 3.9, < 3.9.32 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.0, < 4.0.31 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.1, < 4.1.31 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.2, < 4.2.28 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.3, < 4.3.24 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.4, < 4.4.23 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.5, < 4.5.22 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.6, < 4.6.19 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.7, < 4.7.18 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.8, < 4.8.14 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 4.9, < 4.9.15 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 5.0, < 5.0.10 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 5.1, < 5.1.6 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 5.2, < 5.2.7 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 5.3.0, < 5.3.4 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
wordpress wordpress >= 5.4, < 5.4.2 cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVE-2020-4047 の参考情報

URL タグ
https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f Patch
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/
https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/ Release Notes Vendor Advisory
https://www.debian.org/security/2020/dsa-4709 Mailing List Third Party Advisory
cvelogic Threat Intelligence