BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2019-16780

MEDIUM 5.4 CVSS 3.1
Published
December 26, 2019
Last modified
June 17, 2026
NVD status
Modified
Reported by
security-advisories@github.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Affected WordPress components

  • WordPress core
    Confirmed match
    From 3.7 (excluding) to 5.3.1 (excluding); Version 3.7
  • wordpress Plugin · wordpress
    Possible match Homeless
    From < 5.3.1 (including) to 5.3.1 (excluding)
    View on WordPress.org
  • wordpress Theme · wordpress
    Possible match Homeless
    From < 5.3.1 (including) to 5.3.1 (excluding)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • WordPress WordPress — From < 5.3.1 (including) to 5.3.1 (excluding)
  • wordpress wordpress — From 3.7 (excluding) to 5.3.1 (excluding)
  • wordpress wordpress — Version 3.7

References

  • github.com https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e Patch, Third Party Advisory
  • github.com https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94 Third Party Advisory
  • hackerone.com https://hackerone.com/reports/738644 Permissions Required, Third Party Advisory
  • seclists.org https://seclists.org/bugtraq/2020/Jan/8 Mailing List, Third Party Advisory
  • wordpress.org https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ Release Notes, Third Party Advisory
  • wpvulndb.com https://wpvulndb.com/vulnerabilities/9976 Third Party Advisory
  • www.debian.org https://www.debian.org/security/2020/dsa-4599 Third Party Advisory
  • www.debian.org https://www.debian.org/security/2020/dsa-4677 Third Party Advisory
  • nvd.nist.gov Official NVD record