CVE-2019-16781
Stored cross-site scripting (XSS) in WordPress block editor
- State
- Published
- Severity
- 5.8 Medium
- Published
- Dec 26, 2019
- Updated
- Aug 5, 2024
- Reserved
- Sep 24, 2019
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.8 Medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N | GitHub_M |
Weaknesses
- CWE-79 Cross-site Scripting (XSS)
Affected Products
| Product | Versions |
|---|---|
WordPressWordPress |
|
References
- https://wpvulndb.com/vulnerabilities/9976
- https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v
- https://hackerone.com/reports/731301
- 20200108 [SECURITY] [DSA 4599-1] wordpress security updatemailing-list
- DSA-4599vendor-advisory
- DSA-4677vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.