Medium severity5.4NVD Advisory· Published Jun 12, 2020· Updated Jun 17, 2026
CVE-2020-4046
CVE-2020-4046
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
9up to 5.4.2, 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+ 1 more
- (no CPE)range: up to 5.4.2, 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
- cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*range: >=3.7,<3.7.34
- Range: >= 5.4.0, < 5.4.2
- osv-coords2 versions
>= 3.7.0, < 3.7.34+ 1 more
- (no CPE)range: >= 3.7.0, < 3.7.34
- (no CPE)range: >= 3.7.0, < 3.7.34
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
6- github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jfnvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2020/07/msg00000.htmlnvdMailing ListThird Party Advisory
- wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/nvdVendor Advisory
- www.debian.org/security/2020/dsa-4709nvdThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/nvd
News mentions
0No linked articles in our index yet.