All vulnerabilities

WordPress core

CVE-2019-8943

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.

Severity
Medium 6.5
Published
20 Feb 2019
Last changed
17 Jun 2026
Added to UpHeron
17 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
WordPressWordPress core · cpe:a:wordpress:wordpress
  • Every version up to 5.0.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2019-8943
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-8943