HOMEVULNERABILITIESCVE-2020-4047
MEDIUM

CVE-2020-4047

CWE-80Published: June 12, 2020· Updated: Jun 17, 2026

6.8
CVSS v3.1

Official Description

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

NVD Source

Technical Analysis

CVE-2020-4047 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in full integrity compromise (data manipulation), with a CVSS base score of 6.8.

The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionRequired
ScopeChanged
Impact
ConfidentialityNone
IntegrityHigh
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Affected Vendors & Products

Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
WordPress1 product(s)
wordpress
Source: NVD CPE · 6 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

https://www.debian.org/security/2020/dsa-4709Mailing List · Third Party Advisory

Quick Facts

CVE IDCVE-2020-4047
CVSS Score6.8 / 10
SeverityMEDIUM
WeaknessCWE-80
CISA KEVNo
Affected3 vendor(s)
PublishedJun 12, 2020

Related CVEs (CWE-80)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2020-4047 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.