CVEBrief

Home / WordPress / wordpress-develop / CVE-2020-4047

CVE-2020-4047: is it exploited, and which versions of wordpress-develop are affected and fixed?

CVE-2020-4047 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 (6.8, 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.

Exploited in the wild
Not in CISA KEV
KEV 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 6.8
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
3.27% in 30 days
higher than 89% of CVEs; FIRST, December 2, 2026

What is CVE-2020-4047?

Authenticated XSS via media attachment page in WordPress

In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment pages in a certain way. This can lead to script execution in the context of a higher privileged user when the file is viewed by them. 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?

VendorProductAffectedFixed or not affected from
WordPresswordpress-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?

VendorProductVersionsType
wordpresswordpressfrom 3.7 before 3.7.34application
wordpresswordpressfrom 3.8 before 3.8.34application
wordpresswordpressfrom 3.9 before 3.9.32application
wordpresswordpressfrom 4.0 before 4.0.31application
wordpresswordpressfrom 4.1 before 4.1.31application
wordpresswordpressfrom 4.2 before 4.2.28application
wordpresswordpressfrom 4.3 before 4.3.24application
wordpresswordpressfrom 4.4 before 4.4.23application
wordpresswordpressfrom 4.5 before 4.5.22application
wordpresswordpressfrom 4.6 before 4.6.19application
wordpresswordpressfrom 4.7 before 4.7.18application
wordpresswordpressfrom 4.8 before 4.8.14application
wordpresswordpressfrom 4.9 before 4.9.15application
wordpresswordpressfrom 5.0 before 5.0.10application
wordpresswordpressfrom 5.1 before 5.1.6application
wordpresswordpressfrom 5.2 before 5.2.7application
wordpresswordpressfrom 5.3.0 before 5.3.4application
wordpresswordpressfrom 5.4 before 5.4.2application
fedoraprojectfedora32operating system
fedoraprojectfedora33operating system
debiandebian linux8.0operating system
debiandebian linux9.0operating system
debiandebian linux10.0operating system

NVD analysis (status Modified), last modified June 17, 2026, 03:19 UTC.

How severe is CVE-2020-4047?

ScoreVersionVectorSource
Medium 6.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:NGitHub_M
Medium 6.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:NNVD
Low 3.5CVSS 2.0AV:N/AC:M/Au:S/C:N/I:P/A:NNVD

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-4047 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
3.27% probability of exploitation activity in the next 30 days, percentile 88.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 30, 2019
Published
June 12, 2020, 16:00 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?

Every CVE in wordpress-develop

Questions about CVE-2020-4047

Is CVE-2020-4047 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 3.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of wordpress-develop are affected by CVE-2020-4047?

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-4047?

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-4047?

Medium (6.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2020-4047?

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.