{"id":"CVE-2020-4046","state":"PUBLISHED","title":"Authenticated XSS through embed block in WordPress","description":"In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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).","publishedAt":"2020-06-12T15:55:12.000Z","updatedAt":"2024-08-04T07:52:20.719Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["WordPress wordpress-develop"],"affected":[{"vendor":"WordPress","product":"wordpress-develop","versions":[{"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","status":"affected"}]}],"references":["https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf","https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/","https://www.debian.org/security/2020/dsa-4709","https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html"],"weaknesses":["CWE-80"],"ingestedAt":"2026-10-29T19:47:32.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/4xxx/CVE-2020-4046.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-4046","state":"PUBLISHED","datePublished":"2020-06-12T15:55:12.000Z","dateUpdated":"2024-08-04T07:52:20.719Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2019-12-30T00:00:00.000Z"},"containers":{"cna":{"title":"Authenticated XSS through embed block in WordPress","descriptions":[{"lang":"en","value":"In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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)."}],"affected":[{"vendor":"WordPress","product":"wordpress-develop","versions":[{"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","status":"affected"}]}],"references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf","tags":["x_refsource_CONFIRM"]},{"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/","name":"FEDORA-2020-8447a3e195","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/","name":"FEDORA-2020-bbedd29391","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2020/dsa-4709","name":"DSA-4709","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html","name":"[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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":{"shortName":"GitHub_M","dateUpdated":"2020-07-01T14:06:04.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-rpwf-hrh2-39jf","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-4046","STATE":"PUBLIC","TITLE":"Authenticated XSS through embed block 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, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf","refsource":"CONFIRM","url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf"},{"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":"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"}]},"source":{"advisory":"GHSA-rpwf-hrh2-39jf","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/","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/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/","name":"FEDORA-2020-bbedd29391","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://www.debian.org/security/2020/dsa-4709","name":"DSA-4709","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html","name":"[debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T07:52:20.719Z"}}]}}}