WordPress Core < 5.4.2 - Authenticated Stored Cross-Site Scripting

6.8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2020-4047
CVSS 6.8 (Medium)
Publicly Published June 10, 2020
Last Updated January 22, 2024
Researcher Luigi Gubello

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).

References

Share

1 affected software package

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 3.7.34, 3.8.34, 3.9.32, 4.0.31, 4.1.31, 4.2.28, 4.3.24, 4.4.23, 4.5.22, 4.6.19, 4.7.18, 4.8.14, 4.9.15, 5.0.10, 5.1.6, 5.2.7, 5.3.4, 5.4.2
Affected Versions
  • < 3.7
  • 5.0 - 5.0.9
  • 5.1 - 5.1.5
  • 5.2 - 5.2.6
Expand to see 14 more affected version ranges.
  • 5.3 - 5.3.3
  • 3.7 - 3.7.33
  • 3.8 - 3.8.33
  • 3.9 - 3.9.31
  • 4.0 - 4.0.30
  • 4.1 - 4.1.30
  • 4.2 - 4.2.27
  • 4.3 - 4.3.23
  • 4.4 - 4.4.22
  • 4.5 - 4.5.21
  • 4.6 - 4.6.18
  • 4.7 - 4.7.17
  • 4.8 - 4.8.13
  • 4.9 - 4.9.14
Patched Versions
  • 3.7.34
  • 3.8.34
  • 3.9.32
  • 4.0.31
Expand to see 14 more patched versions.
  • 4.1.31
  • 4.2.28
  • 4.3.24
  • 4.4.23
  • 4.5.22
  • 4.6.19
  • 4.7.18
  • 4.8.14
  • 4.9.15
  • 5.0.10
  • 5.1.6
  • 5.2.7
  • 5.3.4
  • 5.4.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation