CVE-2019-16781
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
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.
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
7- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v
- https://hackerone.com/reports/731301
- 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
- 4bc592939b4bd749dff0b410ab3303cce5aebc0f15fdc540a1e048cad7969102
- Ingested
- 23 Sep 2026, 07:46:16 UTC
- Source record
- Official CVE record