Back
CVE-2019-16780
Stored cross-site scripting (XSS) in WordPress block editor
Medium5.8EPSS 1.7%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.
Weakness
Affected products
References (8)
- https://wpvulndb.com/vulnerabilities/9976 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e (opens in a new tab)x_refsource_MISCx_transferred
- https://hackerone.com/reports/738644 (opens in a new tab)x_refsource_MISCx_transferred
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-4599 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-4677 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-16780)Record last updated .