# CVE-2019-16217: WordPress before 5.2.3 allows XSS in media uploads because wpajaxuploadattachment is mishandled.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.53%, higher than 75% of CVEs (2026-12-01)
- Published: 2019-09-11T13:07:40.000Z
- Modified: 2026-06-17T02:21:54.973Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

WordPress before 5.2.3 allows XSS in media uploads because wp_ajax_upload_attachment is mishandled.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wordpress wordpress: before 5.2.3
- debian debian_linux: 8.0; 9.0; 10.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/> (release-notes, vendor-advisory)
- <https://core.trac.wordpress.org/changeset/45936> (patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00023.html> (mailing-list, third-party-advisory)
- <https://seclists.org/bugtraq/2020/Jan/8> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4599> (third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4677> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2019-16217](https://www.cve.org/CVERecord?id=CVE-2019-16217), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-16217](https://nvd.nist.gov/vuln/detail/CVE-2019-16217), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16217 · Whole record: https://cve.day/CVE-2019-16217.json · Rebuilt by cve.day 2026-11-25T22:57:46.906Z
