CVE-2019-16781
Stored cross-site scripting (XSS) in WordPress block editor
Reported by github_m · Published December 26, 2019
In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS.
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)
- Oct 24, 2025 CVE Updated
- Apr 10, 2026 Distribution Patch (2 in total, the first dated here)
- Apr 10, 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-16781
vulnetix vdb fixes CVE-2019-16781
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-16781/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_MISC
- x_refsource_CONFIRM
- 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