CVE-2020-4047

MEDIUMCVSS 6.8/10EPSS 3.62%

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
6.8/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

EPSS Probability
3.62%

88.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
WordpressWordpress>= 3.7, < 3.7.34
WordpressWordpress>= 3.8, < 3.8.34
WordpressWordpress>= 3.9, < 3.9.32
WordpressWordpress>= 4.0, < 4.0.31
WordpressWordpress>= 4.1, < 4.1.31
WordpressWordpress>= 4.2, < 4.2.28
WordpressWordpress>= 4.3, < 4.3.24
WordpressWordpress>= 4.4, < 4.4.23
WordpressWordpress>= 4.5, < 4.5.22
WordpressWordpress>= 4.6, < 4.6.19
WordpressWordpress>= 4.7, < 4.7.18
WordpressWordpress>= 4.8, < 4.8.14
WordpressWordpress>= 4.9, < 4.9.15
WordpressWordpress>= 5.0, < 5.0.10
WordpressWordpress>= 5.1, < 5.1.6
WordpressWordpress>= 5.2, < 5.2.7
WordpressWordpress>= 5.3.0, < 5.3.4
WordpressWordpress>= 5.4, < 5.4.2
FedoraprojectFedora32
FedoraprojectFedora33
DebianDebian Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

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).
How severe is CVE-2020-4047?
CVE-2020-4047 has a CVSS score of 6.8/10 (MEDIUM severity). The EPSS model estimates a 3.62% probability of exploitation in the next 30 days.
How do I fix CVE-2020-4047?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-4047?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST