CVE-2020-4046
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).
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
5.4
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.4 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-80
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /wp-admin.
References
6 on the record
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-rpwf-hrh2-39jf
x_refsource_CONFIRM
- wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/
x_refsource_MISC
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/
vendor-advisory, x_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/
vendor-advisory, x_refsource_FEDORA
- www.debian.org/security/2020/dsa-4709
vendor-advisory, x_refsource_DEBIAN
- lists.debian.org/debian-lts-announce/2020/07/msg00000.html
mailing-list, x_refsource_MLIST
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-21661 SQL injection in WordPressCVSS 7.5
- CVE-2020-13965 Roundcube Webmail Cross-Site Scripting (XSS) VulnerabilityCVSS 6.1 · CISA KEV
- CVE-2018-19953 QNAP NAS File Station Cross-Site Scripting VulnerabilityCVSS 6.1 · CISA KEV
- CVE-2018-19943 QNAP NAS File Station Cross-Site Scripting VulnerabilityCVSS 5.4 · CISA KEV
- CVE-2026-3859 XSS Vulnerability in OpenText VibeCVSS 7.4
- CVE-2026-42694 WordPress Kirki plugin <= 6.4.0 - Content Injection vulnerabilityCVSS 4.3
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.