CVE-2019-16780 MEDIUM

CVE-2019-16780: Stored cross-site scripting (XSS) in WordPress block editor

Vendor Wordpress
Product WordPress
Weakness CWE-79 · XSS
Published December 26, 2019
Last update August 5, 2024

CVSS base score

5.8/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

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 site access can inject malicious scripts that execute in other users' browsers when they interact with affected content. The vulnerability requires user interaction and affects the confidentiality of user sessions and data.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers to steal session data or perform actions on their behalf.

Potential impact on your site

04Site Impact

Compromised user accounts and data theft if contributors or editors are tricked into viewing malicious block content.

Conditions required to exploit

05Prerequisites

Attacker needs low-level WordPress account access; victim must interact with affected content in the editor.

Key dates

06Disclosure timeline

December 26, 2019 CVE published
August 5, 2024 Record updated

Related vulnerabilities

08Related CVE