Loading
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.
Use CWE-22, Wordpress vendor hub and Wordpress product page to widen CVE-2019-8943 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2024-31210, CVE-2024-4439 and CVE-2023-38000 for nearby disclosures in the same product family.