Path Traversal in WordPress

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

EPSS exploit prediction

EPSS: 0.920 (99.8th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-8943: fell from 0.926 to 0.920.

EPSS over last 30 days · oldest: 0.926 · newest: 0.920 · change: -0.007

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-8943?
CVE-2019-8943 is a medium-severity vulnerability in WordPress, classified under Path Traversal. CVSS score: 6.5/10. Published 2019-02-20.
How severe is CVE-2019-8943?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2019-8943 known to be exploited?
28 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.