Home / Advisories / CVE-2019-16217 CVE-2019-16217: WordPress before 5.2.3 allows XSS in media uploads because wp_ajax_upload_attachment is mishandled. medium Affects WordPress core . Feed 2026.11.23.2, updated 2026-11-23; published 2019-09-11 ; advisory modified 2026-06-17 .
WordPress before 5.2.3 allows XSS in media uploads because wp_ajax_upload_attachment is mishandled. Package WordPress core WordPress Affected versions <5.2.3Fixed in 5.2.3Severity medium CVSS 6.1 Exploitation not on CISA KEV · EPSS 2% (75.4th percentile) Published 2019-09-11 Source nvd References Quick answers Is CVE-2019-16217 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 2%.
Which version fixes CVE-2019-16217?
WordPress core: 5.2.3.
How do I check whether I am affected?
Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress
# or, without Composer
pipx install phpwarden && phpwarden wordpress /path/to/wordpressOr keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs .
Install docs How findings are ranked Related advisories CVE-2026-87902 KEV high WordPress Core: unauthenticated local .php file inclusion via page-template resolution, ca same package: WordPress core CVE-2026-63030 KEV critical WordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 is affected by a REST API batch endpoi same package: WordPress core CVE-2026-119977 KEV high WordPress Core is vulnerable to Remote Code Execution in versions 4.7 through 7.1.3. This same package: WordPress core CVE-2026-60137 KEV medium WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly same package: WordPress core CVE-2022-21661 high WordPress is a free and open-source content management system written in PHP and paired wi same package: WordPress core CVE-2019-8943 medium WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has pri same package: WordPress core