Original 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.
Affected software
- WordPress < 5.3.1≥ < 5.3.1 < 5.3.1 Fixed in: 5.3.1 exact match
Details
- Published
- 2019-12-26
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 1.61% (percentile 76)
References
- cve.org/CVE-2019-16781
- nvd.nist.gov/vuln/detail/CVE-2019-16781
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-pg4x-64rh-3c9v
- hackerone.com/reports/731301
- seclists.org/bugtraq/2020/Jan/8
- wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- wpvulndb.com/vulnerabilities/9976
- www.debian.org/security/2020/dsa-4599
- www.debian.org/security/2020/dsa-4677
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.