{"containers":{"cna":{"affected":[{"product":"wordpress-develop","vendor":"WordPress","versions":[{"status":"affected","version":">= 5.4.0, < 5.4.2"},{"status":"affected","version":">= 5.3.0, < 5.3.4"},{"status":"affected","version":">= 5.2.0, < 5.2.7"},{"status":"affected","version":">= 5.1.0, < 5.1.6"},{"status":"affected","version":">= 5.0.0, < 5.0.10"},{"status":"affected","version":">= 4.9.0, < 4.9.15"},{"status":"affected","version":">= 4.8.0, < 4.8.14"},{"status":"affected","version":">= 4.7.0, < 4.7.18"},{"status":"affected","version":">= 4.6.0, < 4.6.19"},{"status":"affected","version":">= 4.5.0, < 4.5.22"},{"status":"affected","version":">= 4.4.0, < 4.4.23"},{"status":"affected","version":">= 4.3.0, < 4.3.24"},{"status":"affected","version":">= 4.2.0, < 4.2.28"},{"status":"affected","version":">= 4.1.0, < 4.1.31"},{"status":"affected","version":">= 4.0.0, < 4.0.31"},{"status":"affected","version":">= 3.9.0, < 3.9.32"},{"status":"affected","version":">= 3.8.0, < 3.8.34"},{"status":"affected","version":">= 3.7.0, < 3.7.34"}]}],"descriptions":[{"lang":"en","value":"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)."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":2.4,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2020-09-11T16:06:33.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_MISC"],"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-87h4-phjv-rm6p"},{"tags":["x_refsource_MISC"],"url":"https://github.com/WordPress/wordpress-develop/commit/404f397b4012fd9d382e55bf7d206c1317f01148"},{"name":"FEDORA-2020-8447a3e195","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"},{"name":"FEDORA-2020-bbedd29391","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"},{"name":"DSA-4709","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2020/dsa-4709"},{"name":"[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"},{"name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"}],"source":{"advisory":"GHSA-87h4-phjv-rm6p","discovery":"UNKNOWN"},"title":"Authenticated self-XSS via theme uploads in WordPress","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-4049","STATE":"PUBLIC","TITLE":"Authenticated self-XSS via theme uploads in WordPress"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"wordpress-develop","version":{"version_data":[{"version_value":">= 5.4.0, < 5.4.2"},{"version_value":">= 5.3.0, < 5.3.4"},{"version_value":">= 5.2.0, < 5.2.7"},{"version_value":">= 5.1.0, < 5.1.6"},{"version_value":">= 5.0.0, < 5.0.10"},{"version_value":">= 4.9.0, < 4.9.15"},{"version_value":">= 4.8.0, < 4.8.14"},{"version_value":">= 4.7.0, < 4.7.18"},{"version_value":">= 4.6.0, < 4.6.19"},{"version_value":">= 4.5.0, < 4.5.22"},{"version_value":">= 4.4.0, < 4.4.23"},{"version_value":">= 4.3.0, < 4.3.24"},{"version_value":">= 4.2.0, < 4.2.28"},{"version_value":">= 4.1.0, < 4.1.31"},{"version_value":">= 4.0.0, < 4.0.31"},{"version_value":">= 3.9.0, < 3.9.32"},{"version_value":">= 3.8.0, < 3.8.34"},{"version_value":">= 3.7.0, < 3.7.34"}]}}]},"vendor_name":"WordPress"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":2.4,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"}]}]},"references":{"reference_data":[{"name":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","refsource":"MISC","url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"},{"name":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-87h4-phjv-rm6p","refsource":"CONFIRM","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-87h4-phjv-rm6p"},{"name":"https://github.com/WordPress/wordpress-develop/commit/404f397b4012fd9d382e55bf7d206c1317f01148","refsource":"MISC","url":"https://github.com/WordPress/wordpress-develop/commit/404f397b4012fd9d382e55bf7d206c1317f01148"},{"name":"FEDORA-2020-8447a3e195","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"},{"name":"FEDORA-2020-bbedd29391","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"},{"name":"DSA-4709","refsource":"DEBIAN","url":"https://www.debian.org/security/2020/dsa-4709"},{"name":"[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"},{"name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"}]},"source":{"advisory":"GHSA-87h4-phjv-rm6p","discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T07:52:20.760Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-87h4-phjv-rm6p"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/WordPress/wordpress-develop/commit/404f397b4012fd9d382e55bf7d206c1317f01148"},{"name":"FEDORA-2020-8447a3e195","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/"},{"name":"FEDORA-2020-bbedd29391","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/"},{"name":"DSA-4709","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2020/dsa-4709"},{"name":"[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"},{"name":"[debian-lts-announce] 20200911 [SECURITY] [DLA 2371-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2020-4049","datePublished":"2020-06-12T16:00:23.000Z","dateReserved":"2019-12-30T00:00:00.000Z","dateUpdated":"2024-08-04T07:52:20.760Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}