{"id":"CVE-2020-4049","published":"2020-06-12T16:00:23Z","modified":"2024-08-04T07:52:20Z","title":"Authenticated self-XSS via theme uploads in WordPress","vendor":"WordPress","product":"wordpress-develop","tier":"tail","description":{"text":"In affected versions of WordPress, when uploading themes, the name of the theme folder can be crafted in a way that could lead to JavaScript execution in /wp-admin on the themes page. This does require an admin to upload the theme, and is low severity self-XSS. 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":2.4,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0253,"percentile":0.84851,"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-87h4-phjv-rm6p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/404f397b4012fd9d382e55bf7d206c1317f01148","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":18.7,"factors":[{"name":"EPSS percentile","points":16.97},{"name":"CVSS severity","points":1.68}]},"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-25307","exploited":false,"provenance":"source"}}