Live threats

All CVEs / Wordpress

CVE-2020-4049Wordpress

Low 2.4

Priority
15
CVSS 3.1
2.4
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
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:H/UI:R/S:U/C:N/I:L/A:N

What happens

In affected versions of WordPress, when uploading themes, the name of the theme folder can be crafted in a way that could lead to JavaScript execution in /wp-admin on the themes page. This does require an admin to upload the theme, and is low severity self-XSS. 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
fedoraprojectfedora31
fedoraprojectfedora32
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.