Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | < 5.3.1 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1cPatchThird Party Advisory
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qThird Party Advisory
- https://hackerone.com/reports/738644Permissions RequiredThird Party Advisory
- https://seclists.org/bugtraq/2020/Jan/8Mailing ListThird Party Advisory
- https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-releRelease NotesThird Party Advisory
- https://wpvulndb.com/vulnerabilities/9976Third Party Advisory
- https://www.debian.org/security/2020/dsa-4599Third Party Advisory
- https://www.debian.org/security/2020/dsa-4677Third Party Advisory
- https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1cPatchThird Party Advisory
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qThird Party Advisory
- https://hackerone.com/reports/738644Permissions RequiredThird Party Advisory
- https://seclists.org/bugtraq/2020/Jan/8Mailing ListThird Party Advisory
- https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-releRelease NotesThird Party Advisory
- https://wpvulndb.com/vulnerabilities/9976Third Party Advisory
- https://www.debian.org/security/2020/dsa-4599Third Party Advisory
FAQ
What is CVE-2019-16780?
CVE-2019-16780 is a vulnerability with a CVSS score of 5.8 (MEDIUM). 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 ad...
How severe is CVE-2019-16780?
CVE-2019-16780 has been rated MEDIUM with a CVSS base score of 5.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-16780?
Check the references section above for vendor advisories and patch information. Affected products include: Wordpress Wordpress, Debian Debian Linux.