High

PrestaShop PHP Object Injection

  • Disclosed: 14.05.2022
  • Updated: 11.10.2026 10:22

In the orders section of PrestaShop before 1.7.2.5, an attack is possible after gaining access to a target store with a user role with the rights of at least a Salesman or higher privileges. The attacker can then inject arbitrary PHP objects into the process and abuse an object chain in order to gain Remote Code Execution. This occurs because protection against serialized objects looks for a 0: followed by an integer, but does not consider 0:+ followed by an integer.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package prestashop/prestashop < 1.7.2.5 1.7.2.5
PrestaShop (core) prestashop/prestashop < 1.7.2.5 1.7.2.5

References

CVSS score 8.8/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-94
Platform
Composer, PrestaShop
Package
prestashop/prestashop
Disclosed
14.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-xx67-2j3v-h76p - CC BY 4.0

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. Critical · 9.8 CVE-2022-31181 >= 1.6.0.10, < 1.7.8.7 1.7.8.7
  7. PrestaShop PHP Object Injection this entry
    High · 8.8 CVE-2018-20717 < 1.7.2.5 1.7.2.5
  8. High · 8.0 CVE-2023-30838 >= 8.0.0, < 8.0.4, < 1.7.8.9 8.0.4, 1.7.8.9
  9. Critical · 9.0 CVE-2022-21686 >= 1.7.0.0, < 1.7.8.3 1.7.8.3
  10. 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.