Critical

Reading a file through path traversal & Remote Code Execution via unsafe deserialization

  • Disclosed: 07.08.2023
  • Updated: 11.10.2026 10:22

Initialy flagged as path traversal with a medium severity, the work of Friends Of Presta Security team proven the ability to use this vulnerability to implicity deserialize a malicious load (critical severity).

displayAjaxEmailHTML method can be used to read any file on the server, potentially even outside of the project if the server is not correctly configured.

Moreover, any wrapper like https, ftp, phar, … can be exploited to forge a SSRF (server side request forgery). The ability to use phar:// can be exploited to forge an unserialization as proven in our security research advisory “Exploring the perils of implicit deserialization of a phar in PrestaShop (part 2)”

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package prestashop/prestashop < 8.1.1 8.1.1
PrestaShop (core) PrestaShop <= 8.1.0

<= 8.1.0 (Patched versions 8.1.1)

no fix

References

CVSS score 9.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-22, CWE-502
Platform
Composer, PrestaShop
Package
prestashop/prestashop, PrestaShop
Disclosed
07.08.2023
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hpf4-v7v2-95p2 - CC BY 4.0

Friends-Of-Presta - CVE-2023-39528 - MIT

MIT
The MIT License (MIT)

Copyright (c) 2016-present Parker Moore and the minima contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Vulnerability history: prestashop/prestashop

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (31) in the archive
Total entries
31
First → latest
12.2021 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 8
  • Medium 17
  • Low 1

Disclosures per year

  1. 2021: 1
  2. 2022: 10
  3. 2023: 10
  4. 2024: 5
  5. 2025: 1
  6. 2026: 4
Severity:
  1. Critical · 9.3 CVE-2026-44212 < 8.2.6, >= 9.0.0, < 9.1.1 8.2.6, 9.1.1
  2. High · 7.6 CVE-2026-33673 >= 9.0.0-alpha.1, < 9.1.0, < 8.2.5 9.1.0, 8.2.5
  3. Critical · 9.6 CVE-2024-34716 >= 8.1.0, < 8.1.6 8.1.6
  4. High · 8.1 CVE-2024-21627 >= 8.0.0-beta.1, < 8.1.3, < 1.7.8.11 8.1.3, 1.7.8.11
  5. High · 8.3 CVE-2023-39527 >= 8.1.0, < 8.1.1, >= 8.0.0, < 8.0.5, < 1.7.8.10 8.1.1, 8.0.5, 1.7.8.10
  6. Reading a file through path traversal & Remote Code Execution via unsafe deserialization this entry
    Critical · 9.1 CVE-2023-39528 < 8.1.1 8.1.1
  7. Critical · 9.8 CVE-2022-31181 >= 1.6.0.10, < 1.7.8.7 1.7.8.7
  8. High · 8.8 CVE-2018-20717 < 1.7.2.5 1.7.2.5
  9. High · 8.0 CVE-2023-30838 >= 8.0.0, < 8.0.4, < 1.7.8.9 8.0.4, 1.7.8.9
  10. Critical · 9.0 CVE-2022-21686 >= 1.7.0.0, < 1.7.8.3 1.7.8.3
  11. High · 7.5 CVE-2021-43789 >= 1.7.5.0, < 1.7.8.2 1.7.8.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.