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 i

medium Affects WordPress core. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

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 i

Package
WordPress core WordPress
Affected versions
<=5.0.3
Fixed in
no fix recorded
Severity
medium  CVSS 6.5
Exploitation
not on CISA KEV · EPSS 92% (99.8th percentile)
Published
2019-02-20
Source
nvd

References

CWE-22
NVD recordWordPress core advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories