Live threats

All CVEs / Wordpress

CVE-2020-4046Wordpress

Medium 5.4

Priority
33
CVSS 3.1
5.4
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
Yes
Published
Jun 12, 2020
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-80, CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Wordpress.

Affected products (CPE)

VendorProductVersions
wordpresswordpress≥ 3.7 < 3.7.34
wordpresswordpress≥ 3.8 < 3.8.34
wordpresswordpress≥ 3.9 < 3.9.32
wordpresswordpress≥ 4.0 < 4.0.31
wordpresswordpress≥ 4.1 < 4.1.31
wordpresswordpress≥ 4.2 < 4.2.28
wordpresswordpress≥ 4.3 < 4.3.24
wordpresswordpress≥ 4.4 < 4.4.23
wordpresswordpress≥ 4.5 < 4.5.22
wordpresswordpress≥ 4.6 < 4.6.19
wordpresswordpress≥ 4.7 < 4.7.18
wordpresswordpress≥ 4.8 < 4.8.14
wordpresswordpress≥ 4.9 < 4.9.15
wordpresswordpress≥ 5.0 < 5.0.10
wordpresswordpress≥ 5.1 < 5.1.6
wordpresswordpress≥ 5.2 < 5.2.7
wordpresswordpress≥ 5.3.0 < 5.3.4
wordpresswordpress≥ 5.4 < 5.4.2
debiandebian_linux8.0
debiandebian_linux9.0
fedoraprojectfedora31
fedoraprojectfedora32

Official sources

References

Links published by the sources. Open them with care.