CVE-2019-16780
published medium CVSS 3.1 · 5.8Stored cross-site scripting (XSS) in WordPress block editor
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress | — | WordPress< 5.3.1 to < 5.3.1 | Affected | Not stated | GitHub_M |
| Debian | buster | wordpress | Advisory build | 5.0.4+dfsg1-1+deb10u1 | DSA-4599-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress | WordPress | < 5.3.1 to < 5.3.1 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79 Cross-site Scripting (XSS)
References
8- https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94
- https://hackerone.com/reports/738644
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update https://seclists.org/bugtraq/2020/Jan/8
- https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- https://wpvulndb.com/vulnerabilities/9976
- DSA-4599 https://www.debian.org/security/2020/dsa-4599
- DSA-4677 https://www.debian.org/security/2020/dsa-4677
Provider assertions
2GitHub_M · cna
Stored cross-site scripting (XSS) in WordPress block editor
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d918d081cc134d7ddd94b2096468a742e512133a90909f34fa303ddc347e8df3
- Ingested
- 23 Sep 2026, 07:46:16 UTC
- Source record
- Official CVE record