Skip to content
Vulnerability Intelligence

CVE-2019-8943

MediumPublic exploit

WordPress through 5.0.3 allows Path Traversal in wp_crop_image().

Published Feb 20, 2019 · Updated Aug 4, 2026 · Also known as 58e3b7f1-26f4-453a-ae1f-a1e6eed0348c, DEBIAN-CVE-2019-8943, UBUNTU-CVE-2019-8943

Key Facts

Patch immediately
  • CVE-2019-8943 is a medium-severity vulnerability (CVSS 6.5 v3.1) affecting Wordpress.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 92% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Wordpress 5.0.3, Wordpress 5.1-1, Wordpress <=5.0.3.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

6.5

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

EPSS (30-day exploit likelihood)

92%

Higher than 99.8% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2019-8943 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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.

Affected Products

16 affected entries in total
ProductAffected versionsFixed in
WordpressWordpressSee advisory5.0.3

Patched Releases

Wordpress

5.0.3, 5.1-1, <=5.0.3

Timeline

  1. Publicly disclosed

    Feb 20, 2019

  2. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

References

10 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2019-8943 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo