CVE-2019-16780

published 26 Dec 2019 · updated 5 Aug 2024

Stored cross-site scripting (XSS) in WordPress block editor

5.8MediumCVSS 5.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in WordPress 5.3.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WordPressWordPress>=< 5.3.1 <5.3.15.3.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WordPress, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-16780 severity on Zeptric[![CVE-2019-16780](https://zeptric.io/badge/cve/CVE-2019-16780.svg)](https://zeptric.io/cve/CVE-2019-16780)