CWE
22
Advisory Published
Updated

CVE-2019-8943: Path Traversal

First published: Wed Feb 20 2019(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
WordPress<=5.0.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-8943?

    CVE-2019-8943 has a medium severity rating due to the potential for an attacker with image cropping privileges to exploit the vulnerability.

  • How do I fix CVE-2019-8943?

    To fix CVE-2019-8943, update WordPress to version 5.0.4 or later, which addresses this vulnerability.

  • What type of vulnerability is CVE-2019-8943?

    CVE-2019-8943 is a Path Traversal vulnerability that affects the wp_crop_image() function in WordPress.

  • Who can exploit CVE-2019-8943?

    An attacker who has privileges to crop an image in WordPress can exploit CVE-2019-8943.

  • What can an attacker do with CVE-2019-8943?

    An attacker can write the output image to an arbitrary directory using a crafted filename that includes path traversal sequences.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203