CVE-2020-4047
Last modified
CVE-2020-4047 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 3.62% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | >= 3.7, < 3.7.34 |
| Wordpress | Wordpress | >= 3.8, < 3.8.34 |
| Wordpress | Wordpress | >= 3.9, < 3.9.32 |
| Wordpress | Wordpress | >= 4.0, < 4.0.31 |
| Wordpress | Wordpress | >= 4.1, < 4.1.31 |
| Wordpress | Wordpress | >= 4.2, < 4.2.28 |
| Wordpress | Wordpress | >= 4.3, < 4.3.24 |
| Wordpress | Wordpress | >= 4.4, < 4.4.23 |
| Wordpress | Wordpress | >= 4.5, < 4.5.22 |
| Wordpress | Wordpress | >= 4.6, < 4.6.19 |
| Wordpress | Wordpress | >= 4.7, < 4.7.18 |
| Wordpress | Wordpress | >= 4.8, < 4.8.14 |
| Wordpress | Wordpress | >= 4.9, < 4.9.15 |
| Wordpress | Wordpress | >= 5.0, < 5.0.10 |
| Wordpress | Wordpress | >= 5.1, < 5.1.6 |
| Wordpress | Wordpress | >= 5.2, < 5.2.7 |
| Wordpress | Wordpress | >= 5.3.0, < 5.3.4 |
| Wordpress | Wordpress | >= 5.4, < 5.4.2 |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- https://lists.debian.org/debian-lts-announce/2020/07/msg00000.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00011.htmlMailing List, Third Party Advisory
- https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/Release Notes, Vendor Advisory
- https://www.debian.org/security/2020/dsa-4709Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00000.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00011.htmlMailing List, Third Party Advisory
- https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/Release Notes, Vendor Advisory
- https://www.debian.org/security/2020/dsa-4709Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-4047?
How severe is CVE-2020-4047?
How do I fix CVE-2020-4047?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-4041In Bolt CMS before version 3.7.1, the filename of uploaded f…6.1
- CVE-2020-4042Bareos before version 19.2.8 and earlier allows a malicious …6.8
- CVE-2020-4043phpMussel from versions 1.0.0 and less than 1.6.0 has an uns…9.8
- CVE-2020-4044The xrdp-sesman service before version 0.9.13.1 can be crash…7.8
- CVE-2020-4045SSB-DB version 20.0.0 has an information disclosure vulnerab…7.5
- CVE-2020-4046In affected versions of WordPress, users with low privileges…5.4
- CVE-2020-4048In affected versions of WordPress, due to an issue in wp_val…5.7
- CVE-2020-4049In affected versions of WordPress, when uploading themes, th…2.4
- CVE-2020-4050In affected versions of WordPress, misuse of the `set-screen…3.1
- CVE-2020-4051In Dijit before versions 1.11.11, and greater than or equal …5.4
- CVE-2020-4052In Wiki.js before 2.4.107, there is a stored cross-site scri…6.1
- CVE-2020-4053In Helm greater than or equal to 3.0.0 and less than 3.2.4, …6.8
Are you affected by CVE-2020-4047?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
