vulnerability

Wordpress: CVE-2019-8943: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:N/I:P/A:N)
Published
Feb 19, 2019
Added
Feb 27, 2019
Modified
Mar 30, 2026

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.

Solution

misc-no-solution-exists
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.