{"id":"CVE-2020-4047","published":"2020-06-12T16:00:36Z","modified":"2024-08-04T07:52:20Z","title":"Authenticated XSS via media attachment page in WordPress","vendor":"WordPress","product":"wordpress-develop","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03271,"percentile":0.88361,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","tags":["x_refsource_MISC"]},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81f","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2020/dsa-4709","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.4,"factors":[{"name":"EPSS percentile","points":17.67},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"wordpress","affectedVersions":[{"vendor":"WordPress","product":"wordpress-develop","versions":[">= 5.4.0, < 5.4.2",">= 5.3.0, < 5.3.4",">= 5.2.0, < 5.2.7",">= 5.1.0, < 5.1.6",">= 5.0.0, < 5.0.10",">= 4.9.0, < 4.9.15",">= 4.8.0, < 4.8.14",">= 4.7.0, < 4.7.18",">= 4.6.0, < 4.6.19",">= 4.5.0, < 4.5.22"]}],"euvd":{"id":"EUVD-2020-25305","exploited":false,"provenance":"source"}}