CVE-2019-8943: WordPress

Medium severity, CVSS 6.5. EPSS: 92% probability of exploitation activity in the next 30 days.

WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has privileges to crop an image) can write the output image to an arbitrary directory via a filename containing two image extensions and ../ sequences, such as a filename ending with the .jpg?/../../file.jpg substring.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2019-02-20. Last modified 2026-06-17.