Critical

PHUnit dependancy in PrestaShop and modules allow remote arbitrary PHP code execution

  • Disclosed: 20.01.2020
  • Updated: 11.10.2026 10:22

CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0

Modules include the vulnerable dependancy are:

1-Click Upgrade (autoupgrade) from 4.0.0 to 4.10.1

Cart Abandonment Pro (pscartabandonmentpro) from 2.0.1 to 2.0.10

Faceted Search (ps_facetedsearch) from 2.2.1 to 3.4.1

Merchant Expertise (gamification) from 2.1.0 to 2.3.2

PrestaShop Checkout (ps_checkout) from 1.0.8 to 1.2.9

In addition, if PrestaShop had been initially installed prior to ~1.7.6.0 with composer in dev mode can contain a critical vulnerability if .htaccess in vendor directory is not set in order to denied access.

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a “<?php “ substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package phpunit/phpunit >= 4.8.19, < 4.8.28, >= 5.0.10, < 5.6.3 4.8.28, 5.6.3
PrestaShop (core) PrestaShop < 1.7.6.0

~< 1.7.6.0

no fix

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r7c9-c69m-rph8 - CC BY 4.0

Friends-Of-Presta - CVE-2017-9841 - 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

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

All (32) in the archive
Total entries
32
First → latest
01.2020 05.2026
Without a fix
9
Exploited in attacks
1

Severity breakdown

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

Disclosures per year

  1. 2020: 1
  2. 2021: 1
  3. 2022: 10
  4. 2023: 10
  5. 2024: 5
  6. 2025: 1
  7. 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.0.0, < 8.0.5, < 1.7.8.10 no fix
  6. Critical · 9.8 CVE-2022-31181 >= 1.6.0.10, < 1.7.8.7 1.7.8.7
  7. 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.3, < 1.7.8.8 no fix
  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
  11. PHUnit dependancy in PrestaShop and modules allow remote arbitrary PHP code execution this entry
    Critical · 9.8 Exploited in attacks CVE-2017-9841 < 1.7.6.0 no fix

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.