VDB

CVE-2019-16781

CVE-2019-16781 PUBLISHED CVSS 5.8 MEDIUM

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.

PackageEcosystemFixed in
wordpresswordpress5.3.1

Risk scores

CVSS 3.1
5.8
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N

Affected products

VendorProductVersions
WordPressWordPress< 5.3.1
WordPressWordPress0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›