Home / WordPress / wordpress-develop / CVE-2020-4046
CVE-2020-4046: is it exploited, and which versions of wordpress-develop are affected and fixed?
CVE-2020-4046 is a cross-site scripting (XSS) vulnerability in wordpress-develop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: wordpress-develop >= 5.4.0, < 5.4.2, wordpress-develop >= 5.3.0, < 5.3.4, wordpress-develop >= 5.2.0, < 5.2.7 and 15 more (CVE record by GitHub_M). Fixed in 3.7.34, 3.8.34, 3.9.32, 4.0.31 and 2 more (NVD). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:10 UTC.
What is CVE-2020-4046?
Authenticated XSS through embed block in WordPress
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).
From the CVE record by GitHub_M, last updated August 4, 2024, 07:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| WordPress | wordpress-develop | >= 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 >= 4.4.0, < 4.4.23 >= 4.3.0, < 4.3.24 and 6 more ranges |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wordpress | wordpress | from 3.7 before 3.7.34 | application |
| wordpress | wordpress | from 3.8 before 3.8.34 | application |
| wordpress | wordpress | from 3.9 before 3.9.32 | application |
| wordpress | wordpress | from 4.0 before 4.0.31 | application |
| wordpress | wordpress | from 4.1 before 4.1.31 | application |
| wordpress | wordpress | from 4.2 before 4.2.28 | application |
| wordpress | wordpress | from 4.3 before 4.3.24 | application |
| wordpress | wordpress | from 4.4 before 4.4.23 | application |
| wordpress | wordpress | from 4.5 before 4.5.22 | application |
| wordpress | wordpress | from 4.6 before 4.6.19 | application |
| wordpress | wordpress | from 4.7 before 4.7.18 | application |
| wordpress | wordpress | from 4.8 before 4.8.14 | application |
| wordpress | wordpress | from 4.9 before 4.9.15 | application |
| wordpress | wordpress | from 5.0 before 5.0.10 | application |
| wordpress | wordpress | from 5.1 before 5.1.6 | application |
| wordpress | wordpress | from 5.2 before 5.2.7 | application |
| wordpress | wordpress | from 5.3.0 before 5.3.4 | application |
| wordpress | wordpress | from 5.4 before 5.4.2 | application |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:19 UTC.
How severe is CVE-2020-4046?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-4046 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.13% probability of exploitation activity in the next 30 days, percentile 82.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf x_refsource_CONFIRM
- https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/ x_refsource_MISC
- FEDORA-2020-8447a3e195 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-bbedd29391 vendor-advisory, x_refsource_FEDORA
- DSA-4709 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20200701 [SECURITY] [DLA 2269-1] wordpress security update mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 30, 2019
- Published
- June 12, 2020, 15:55 UTC
- CVE record updated
- August 4, 2024, 07:52 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:19 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:10 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect wordpress-develop?
- Apr 4, 2024CVE-2024-31211 wordpress-develop: deserialization of untrusted data
- Apr 4, 2024CVE-2024-31210 wordpress-develop: unrestricted file upload
- Jan 6, 2022CVE-2022-21662 wordpress-develop: cross-site scripting (XSS)
- Jan 6, 2022CVE-2022-21663 wordpress-develop: injection
- Jan 6, 2022CVE-2022-21664 wordpress-develop: SQL injection
- Jan 6, 2022CVE-2022-21661 wordpress-develop: SQL injection
- Sep 9, 2021CVE-2021-39203 wordpress-develop: information disclosure
- Sep 9, 2021CVE-2021-39202 wordpress-develop: cross-site scripting (XSS)
Every CVE in wordpress-develop
Questions about CVE-2020-4046
Is CVE-2020-4046 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 2.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of wordpress-develop are affected by CVE-2020-4046?
wordpress-develop >= 5.4.0, < 5.4.2, wordpress-develop >= 5.3.0, < 5.3.4, wordpress-develop >= 5.2.0, < 5.2.7, wordpress-develop >= 5.1.0, < 5.1.6, wordpress-develop >= 5.0.0, < 5.0.10, wordpress-develop >= 4.9.0, < 4.9.15 and 12 more, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2020-4046?
3.7.34, 3.8.34, 3.9.32, 4.0.31, 4.1.31 and 4.2.28, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-4046?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-4046?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.