CVE-2020-4046

MEDIUMCVSS 5.4/10EPSS 2.36%

Last modified

CVE-2020-4046 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. EPSS estimates a 2.36% chance of exploitation in the next 30 days.

Description

In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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
5.4/10

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

EPSS Probability
2.36%

81.6th 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
DebianDebian Linux8.0
DebianDebian Linux9.0
FedoraprojectFedora31
FedoraprojectFedora32

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-4046?
In affected versions of WordPress, users with low privileges (like contributors and authors) can use the embed block in a certain way to inject unfiltered HTML in the block editor. When affected posts are viewed by a higher privileged user, this could lead to script execution in the editor/wp-admin. 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-4046?
CVE-2020-4046 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 2.36% probability of exploitation in the next 30 days.
How do I fix CVE-2020-4046?
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-4046?

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

Scan your code now

Source: NVD / NIST