CVE-2020-4047
published 2020-06-12CVE-2020-4047: In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attachment…
PriorityP335medium6.8CVSS 3.1
AVNACLPRLUIRSCCNIHAN
EPSS
3.62%
88.1th percentile
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).
Affected
46 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | wordpress | < wordpress 5.4.2+dfsg1-1 (bookworm) | wordpress 5.4.2+dfsg1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| wordpress | wordpress | >= 0 < 5.4.2+dfsg1-1 | 5.4.2+dfsg1-1 |
| wordpress | wordpress | >= 0 < 5.4.2+dfsg1-1 | 5.4.2+dfsg1-1 |
| wordpress | wordpress | >= 0 < 5.4.2+dfsg1-1 | 5.4.2+dfsg1-1 |
| wordpress | wordpress | >= 0 < 5.4.2+dfsg1-1 | 5.4.2+dfsg1-1 |
| wordpress | wordpress | >= 3.7 < 3.7.34 | 3.7.34 |
| wordpress | wordpress | >= 3.8 < 3.8.34 | 3.8.34 |
| wordpress | wordpress | >= 3.9 < 3.9.32 | 3.9.32 |
| wordpress | wordpress | >= 4.0 < 4.0.31 | 4.0.31 |
| wordpress | wordpress | >= 4.1 < 4.1.31 | 4.1.31 |
| wordpress | wordpress | >= 4.2 < 4.2.28 | 4.2.28 |
| wordpress | wordpress | >= 4.3 < 4.3.24 | 4.3.24 |
| wordpress | wordpress | >= 4.4 < 4.4.23 | 4.4.23 |
| wordpress | wordpress | >= 4.5 < 4.5.22 | 4.5.22 |
| wordpress | wordpress | >= 4.6 < 4.6.19 | 4.6.19 |
| wordpress | wordpress | >= 4.7 < 4.7.18 | 4.7.18 |
| wordpress | wordpress | >= 4.8 < 4.8.14 | 4.8.14 |
| wordpress | wordpress | >= 4.9 < 4.9.15 | 4.9.15 |
| wordpress | wordpress | >= 5.0 < 5.0.10 | 5.0.10 |
| wordpress | wordpress | >= 5.1 < 5.1.6 | 5.1.6 |
CVSS provenance
nvdv3.16.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
nvdv2.03.5LOWAV:N/AC:M/Au:S/C:N/I:P/A:N
osv6.8MEDIUM
vendor_debian6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2020-4047: In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attac
osv·2020-06-12·CVSS 6.8
CVE-2020-4047 [MEDIUM] CVE-2020-4047: In affected versions of WordPress, authenticated users with upload permissions (like authors) are able to inject JavaScript into some media file attac
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).
Debian
CVE-2020-4047: wordpress - In affected versions of WordPress, authenticated users with upload permissions (...
vendor_debian·2020·CVSS 6.8
CVE-2020-4047 [MEDIUM] CVE-2020-4047: wordpress - In affected versions of WordPress, authenticated users with upload permissions (...
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).
Scope: local
bookworm: resolved (fixed in 5.4.2+dfsg1-1)
bullseye: resolved (fixed in 5.4.2+dfsg1-1)
forky: resolved (fixed in 5.4.2+dfsg1-1)
sid: resolved (fixed in 5.4.2+dfsg1-1)
trixie: resolved (fixed in 5.4.2+dfsg1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-4047 wordpress: authenticated XSS via media attachment page [epel-all]
bugzilla·2020-06-18·CVSS 6.8
CVE-2020-4047 [MEDIUM] CVE-2020-4047 wordpress: authenticated XSS via media attachment page [epel-all]
CVE-2020-4047 wordpress: authenticated XSS via media attachment page [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2020-4047 wordpress: authenticated XSS via media attachment page
bugzilla·2020-06-18·CVSS 6.8
CVE-2020-4047 [MEDIUM] CVE-2020-4047 wordpress: authenticated XSS via media attachment page
CVE-2020-4047 wordpress: authenticated XSS via media attachment page
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).
Reference:
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27
Upstream commit:
https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96
Bugzilla
CVE-2020-4047 wordpress: authenticated XSS via media attachment page [fedora-all]
bugzilla·2020-06-18·CVSS 6.8
CVE-2020-4047 [MEDIUM] CVE-2020-4047 wordpress: authenticated XSS via media attachment page [fedora-all]
CVE-2020-4047 wordpress: authenticated XSS via media attachment page [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81fhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27https://lists.debian.org/debian-lts-announce/2020/07/msg00000.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00011.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/https://www.debian.org/security/2020/dsa-4709https://github.com/WordPress/wordpress-develop/commit/0977c0d6b241479ecedfe19e96be69f727c3f81fhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-8q2w-5m27-wm27https://lists.debian.org/debian-lts-announce/2020/07/msg00000.htmlhttps://lists.debian.org/debian-lts-announce/2020/09/msg00011.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/https://www.debian.org/security/2020/dsa-4709
2020-06-12
Published