# CVE-2019-16780: 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-16780, DEBIAN-CVE-2019-16780
- Record: https://cvemate.com/vulnerability/CVE-2019-16780 · JSON: https://cvemate.com/vulnerability/CVE-2019-16780/json

## Description

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

## 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.697%, percentile 77.973%, 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) \| 5.3 (fixed in 3.7.32)
- wordpress wordpress: ≥ \< 5.3.1, \< 5.3.1 \| \> 3.7, \< 5.3.1 \| 3.7

## References

- <https://wpvulndb.com/vulnerabilities/9976>
- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-x3wp-h3qx-9w94>
- <https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/>
- <https://github.com/WordPress/wordpress-develop/commit/505dd6a20b6fc3d06130018c1caeff764248c29e>
- <https://hackerone.com/reports/738644>
- <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-16780>
- <https://www.cve.org/CVERecord?id=CVE-2019-16780>
- <https://security-tracker.debian.org/tracker/CVE-2019-16780>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/78b98f21-ac0c-496b-8cb9-8d2f3bd751b1>

---

Data as of 2026-12-05T07:33:02.389Z. 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
