What the vulnerability does
01Description
In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS.
Explanation of Vulnerability in Simple Terms
02Summary
WordPress versions before 5.3.1 contain a cross-site scripting vulnerability in the block editor. An attacker with low-level user access can inject malicious scripts that execute in other users' browsers when they view or edit affected content. The vulnerability requires the victim to interact with a specially crafted block or page. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim.
What an attacker can do
03Attacker Capabilities
Inject JavaScript that runs in other users' browsers, potentially stealing sessions or performing actions as those users.
Potential impact on your site
04Site Impact
Users with low-privilege accounts can compromise higher-privilege users' sessions or perform unauthorized actions on the site.
Conditions required to exploit
05Prerequisites
Attacker needs a low-privilege WordPress account (contributor or higher). Victim must view or interact with the malicious content.
Key dates
06Disclosure timeline
December 26, 2019
CVE published
August 5, 2024
Record updated