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 (8)
Core 8
Core References
Third Party Advisory x_refsource_misc
https://wpvulndb.com/vulnerabilities/9976
Third Party Advisory x_refsource_confirm
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94
Release Notes, Third Party Advisory x_refsource_misc
https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
Patch, Third Party Advisory x_refsource_misc
https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e
Permissions Required, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/738644
Mailing List, Third Party Advisory mailing-list
x_refsource_bugtraq
https://seclists.org/bugtraq/2020/Jan/8
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2020/dsa-4599
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2020/dsa-4677
Scores
CVSS v3
5.8
EPSS
0.0361
EPSS Percentile
87.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
Details
CWE
CWE-79
Status
published
Products (4)
debian/debian_linux
9.0
debian/debian_linux
10.0
wordpress/wordpress
3.7
wordpress/wordpress
3.7 - 5.3.1
Published
Dec 26, 2019
Tracked Since
Feb 18, 2026