WordPress Core < 5.3.1 - Stored Cross-Site Scripting via Block Editor

5.8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2019-16780
CVSS 5.8 (Medium)
Publicly Published December 13, 2019
Last Updated August 14, 2023
Researcher Nguyen Van Khanh

Description

WordPress users with lower privileges (like contributors) can inject JavaScript code in the block editor using a specific payload, which is executed within the dashboard. This can lead to XSS if an admin opens the post in the editor. Execution of this attack does require an authenticated user. This has been patched in WordPress 5.3.1, along with all the previous WordPress versions from 3.7 to 5.3 via a minor release. Automatic updates are enabled by default for minor releases and we strongly recommend that you keep them enabled.

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.32, 3.8.32, 3.9.30, 4.0.29, 4.1.29, 4.2.26, 4.3.22, 4.4.21, 4.5.20, 4.6.17, 4.7.16, 4.8.12, 4.9.13, 5.0.8, 5.1.4, 5.2.5, 5.3.1
Affected Versions
  • 5.3 - 5.3
  • < 3.7
  • 5.0 - 5.0.7
  • 5.1 - 5.1.3
Expand to see 14 more affected version ranges.
  • 5.2 - 5.2.4
  • 3.7 - 3.7.31
  • 3.8 - 3.8.31
  • 3.9 - 3.9.29
  • 4.0 - 4.0.28
  • 4.1 - 4.1.28
  • 4.2 - 4.2.25
  • 4.3 - 4.3.21
  • 4.4 - 4.4.20
  • 4.5 - 4.5.19
  • 4.6 - 4.6.16
  • 4.7 - 4.7.15
  • 4.8 - 4.8.11
  • 4.9 - 4.9.12
Patched Versions
  • 3.7.32
  • 3.8.32
  • 3.9.30
  • 4.0.29
Expand to see 13 more patched versions.
  • 4.1.29
  • 4.2.26
  • 4.3.22
  • 4.4.21
  • 4.5.20
  • 4.6.17
  • 4.7.16
  • 4.8.12
  • 4.9.13
  • 5.0.8
  • 5.1.4
  • 5.2.5
  • 5.3.1

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