Skip to content
OpenAdvisories
Medium · 5.8 CVE-2019-16781 EUVD-2019-7299

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

Published Dec 26, 2019 · Updated Aug 5, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
WordPress WordPress < 5.3.1 – < 5.3.1 5.3.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wordpress 5.3.2+dfsg1-1 —
Debian 13 wordpress 5.3.2+dfsg1-1 —
Debian 12 wordpress 5.3.2+dfsg1-1 —
Debian 10 wordpress 5.0.4+dfsg1-1+deb10u1 DSA-4599-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS wordpress No fix yet —
Ubuntu 16.04 LTS wordpress No fix yet —

Advisories 1

References