CVE-2019-16780
Stored cross-site scripting (XSS) in WordPress block editor
Reported by github_m · Published December 26, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| wordpress | wordpress | 5.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| WordPress | WordPress | < 5.3.1 |
| WordPress | WordPress | 0 |
Timeline
- Dec 26, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 5, 2024 CVE Updated
- Aug 9, 2026 Distribution Patch (2 in total, the first dated here)
- Aug 9, 2026 Security Advisory (2 in total, the first dated here)
- Sep 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-16780
vulnetix vdb fixes CVE-2019-16780
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-16780/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update mailing-listx_refsource_BUGTRAQ
- DSA-4599 vendor-advisoryx_refsource_DEBIAN
- DSA-4677 vendor-advisoryx_refsource_DEBIAN