Skip to content
Fencer Vulns
medium 6.5

CVE-2019-8943 json

WordPress through 5.0.3 allows Path Traversal in wp_crop_image().

published 2019-02-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-18330

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
92.0%
EPSS 92.0% chance of exploitation in 30 days, percentile 99.8%
public exploits
3
Metasploit, Exploit-DB, plus a Nuclei check

Summary

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.

Patch / fix

  • wordpress Arch Linux 5.1-1

arch linux advisories AVG-909

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-8943 updated cvss 5.3

wordpress: path traversal in wp_crop_image()

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/http/wp_crop_rce)
  2. Published

Exploit prediction

91.98% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Metasploit exploit/multi/http/wp_crop_rce WordPress Crop-image Shell Upload metasploit exploit, excellent rank, 2019-02-19
  • EDB-46662 WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit) remote, 2019-04-05
  • EDB-46511 WordPress Core 5.0 - Remote Code Execution webapps, 2019-03-01
  • Nuclei template WordPress Core 5.0.0 - Crop-image Shell Upload nuclei detection template
  • blog.ripstech.com https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html referenced PoC, tagged "exploit" by a source, unverified
  • rapid7.com http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:P/A:N

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.