Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-4049

In affected versions of WordPress, when uploading themes, the name of ...

Overview

Published
12 Jun 2020
Modified
17 Jun 2026
Low CVE
2 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

Description

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

Source: OX vulnerability database

Severity

2.4 · LOW

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N

Weakness: CWE-80, CWE-79

Affected packages · 2

Packages affected by CVE-2020-4049
EcosystemPackageVulnerableFixed in
Bitnami wordpress >=3.7.0, <3.7.34>=3.8.0, <3.8.34>=3.9.0, <3.9.32>=4.0.0, <4.0.31>=4.1.0, <4.1.31+13 more 3.7.343.8.343.9.324.0.314.1.31
Bitnami wordpress-multisite >=3.7.0, <3.7.34>=3.8.0, <3.8.34>=3.9.0, <3.9.32>=4.0.0, <4.0.31>=4.1.0, <4.1.31+13 more 3.7.343.8.343.9.324.0.314.1.31

Open a package to see all its vulnerabilities.

Operating systems · 7 fixes

debian 6 releases · 1 package

fixed 6
wordpress
debian fixes for CVE-2020-4049
ReleasePackageFixed in
10 wordpress 5.0.10+dfsg1-0+deb10u1
11 wordpress 5.4.2+dfsg1-1
12 wordpress 5.4.2+dfsg1-1
13 wordpress 5.4.2+dfsg1-1
14 wordpress 5.4.2+dfsg1-1
9 wordpress 4.7.18+dfsg-1+deb9u1

echo 1 release · 1 package

fixed 1
wordpress
echo fixes for CVE-2020-4049
ReleasePackageFixed in
wordpress 5.4.2+dfsg1-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.