CVE-2019-16780 Stored cross-site scripting (XSS) in WordPress block editor
Authenticated low-privilege users can inject JavaScript into the WordPress block editor, leading to XSS when admins view the post.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-16780?
CVE-2019-16780 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 26 Dec 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2019-16780?
It affects 2 products.
Products include Debian Debian Linux, Wordpress Wordpress.
How do I fix CVE-2019-16780?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-16780 being exploited?
There is no known exploitation of CVE-2019-16780 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2019-16780, GHSA-x3wp-h3qx-9w94, UBUNTU-CVE-2019-16780.