CVE-2023-39525: PrestaShop path traversal
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73097%
CWE
Published
8/9/2023
Updated
11/12/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
prestashop/prestashop | composer | <= 8.1.0 | 8.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerability stemmed from unsanitized $filename
parameter usage in FileRemoval.php
. The patch adds basename()
to sanitize input, confirming the original function lacked path traversal protections. The CWE-22 classification and advisory descriptions directly match this pattern of unsanitized user input in file operations.