# CVE-2019-16781: Stored cross-site scripting (XSS) in WordPress block editor

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-12-26 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2019-16781, DEBIAN-CVE-2019-16781
- Record: https://cvemate.com/vulnerability/CVE-2019-16781 · JSON: https://cvemate.com/vulnerability/CVE-2019-16781/json

## Description

```text
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.
```

## Signals

- CVSS: 5.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
- EPSS: 1.612%, percentile 76.796%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian wordpress (Debian): \< 5.3.2+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0 \| 10.0
- wordpress wordpress: \< 3.7 (fixed in 3.7.32) \| ≥ 3.7, ≤ 3.7.31 (fixed in 3.7.32) \| ≥ 3.8, ≤ 3.8.31 (fixed in 3.7.32) \| ≥ 3.9, ≤ 3.9.29 (fixed in 3.7.32) \| ≥ 4.0, ≤ 4.0.28 (fixed in 3.7.32) \| ≥ 4.1, ≤ 4.1.28 (fixed in 3.7.32) \| ≥ 4.2, ≤ 4.2.25 (fixed in 3.7.32) \| ≥ 4.3, ≤ 4.3.21 (fixed in 3.7.32) \| ≥ 4.4, ≤ 4.4.20 (fixed in 3.7.32) \| ≥ 4.5, ≤ 4.5.19 (fixed in 3.7.32) \| ≥ 4.6, ≤ 4.6.16 (fixed in 3.7.32) \| ≥ 4.7, ≤ 4.7.15 (fixed in 3.7.32) \| ≥ 4.8, ≤ 4.8.11 (fixed in 3.7.32) \| ≥ 4.9, ≤ 4.9.12 (fixed in 3.7.32) \| ≥ 5.0, ≤ 5.0.7 (fixed in 3.7.32) \| ≥ 5.1, ≤ 5.1.3 (fixed in 3.7.32) \| ≥ 5.2, ≤ 5.2.4 (fixed in 3.7.32)
- wordpress wordpress: ≥ \< 5.3.1, \< 5.3.1 \| \< 5.3.1

## 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>
- <https://seclists.org/bugtraq/2020/Jan/8>
- <https://www.debian.org/security/2020/dsa-4599>
- <https://www.debian.org/security/2020/dsa-4677>
- <https://ubuntu.com/security/CVE-2019-16781>
- <https://www.cve.org/CVERecord?id=CVE-2019-16781>
- <https://security-tracker.debian.org/tracker/CVE-2019-16781>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/149eb7ef-be96-442e-925e-01d8d76e3a1a>

---

Data as of 2026-12-05T07:33:18.061Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
