Authenticated XSS via media attachment page in WordPress
CVE-2020-4047
Key Information:
- Vendor
WordPress
- Status
- CVE ID
- CVE ID:
- CVE-2020-4047
- Vendor
- CVE Published:
- 12 June 2020
- Fixed in
- Fixed in:
- 5.4.0, 5.4.2, 5.3.0, 5.3.4, 5.2.0, 5.2.7 +15 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Install the wordpress-develop release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach wordpress-develop. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.8).
What is CVE-2020-4047?
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).
References
More WordPress Vulnerabilities
SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction