VulnarioBlogPrestaShop vulnerabilities
PrestaShop Vulnerabilities: The 10 Most Critical PrestaShop Security Bugs (CVEs)
PrestaShop vulnerabilities are security flaws in PrestaShop that attackers can abuse to steal data, take over a server or interrupt a service. PrestaShop is an open-source e-commerce platform written in PHP. The National Vulnerability Database (NVD) lists 93 CVEs for PrestaShop, 21 of them rated critical, and 3 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical PrestaShop security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers PrestaShop security basics and a free way to be told about the next PrestaShop CVE as soon as it is published.
Key takeaways
- No PrestaShop CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 21 PrestaShop CVEs are rated critical (CVSS v3), and 3 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2023-39524, published Aug 7, 2023.
- You can monitor PrestaShop for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these PrestaShop CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical PrestaShop CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2023-30838 | 9.9 Critical | 2023-04-25 | Cross-site scripting (XSS) | No |
| 2 | CVE-2023-39524 | 9.8 Critical | 2023-08-07 | SQL injection | No |
| 3 | CVE-2023-39526 | 9.8 Critical | 2023-08-07 | SQL injection | No |
| 4 | CVE-2022-31181 | 9.8 Critical | 2022-08-01 | Injection | No |
| 5 | CVE-2022-21686 | 9.8 Critical | 2022-01-26 | Code injection | No |
| 6 | CVE-2021-43789 | 9.8 Critical | 2021-12-07 | SQL injection | No |
| 7 | CVE-2021-3110 | 9.8 Critical | 2021-01-20 | SQL injection | No |
| 8 | CVE-2020-15160 | 9.8 Critical | 2020-09-24 | SQL injection | No |
| 9 | CVE-2020-4074 | 9.8 Critical | 2020-07-02 | Improper authentication | No |
| 10 | CVE-2013-6295 | 9.8 Critical | 2020-02-18 | Improper privilege management | No |
Each PrestaShop CVE explained
1. CVE-2023-30838: Cross-site scripting (XSS)
- What NVD says
- PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop misses hijackable events which can lead to cross-site scripting (XSS) injection, allowed by the presence of pre-setup `@keyframes` methods.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.7.8.9; 8.0.0 to before 8.0.4
- What to do
- Upgrade to the fixed release for your branch (1.7.8.9, 8.0.4) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2023-39524: SQL injection
- What NVD says
- PrestaShop is an open source e-commerce web application. Prior to version 8.1.1, SQL injection possible in the product search field, in BO's product page. Version 8.1.1 contains a patch for this issue. There are no known workarounds.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 8.1.1
- What to do
- Upgrade to 8.1.1 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2023-39526: SQL injection
- What NVD says
- PrestaShop is an open source e-commerce web application. Versions prior to 1.7.8.10, 8.0.5, and 8.1.1 are vulnerable to remote code execution through SQL injection and arbitrary file write in the back office. Versions 1.7.8.10, 8.0.5, and 8.1.1 contain a patch. There are no known workarounds.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 1.7.8.10; 8.0.0 to before 8.0.5; 8.1.0
- What to do
- Upgrade to the fixed release for your branch (1.7.8.10, 8.0.5) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2022-31181: Injection
- What NVD says
- PrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerability which can be chained to call PHP's Eval function on attacker input. The problem is fixed in version 1.7.8.7. Users are advised to upgrade. Users unable to upgrade may delete the MySQL Smarty cache feature.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.6.0.10 to before 1.7.8.7
- What to do
- Upgrade to 1.7.8.7 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2022-21686: Code injection
- What NVD says
- PrestaShop is an Open Source e-commerce platform. Starting with version 1.7.0.0 and ending with version 1.7.8.3, an attacker is able to inject twig code inside the back office when using the legacy layout. The problem is fixed in version 1.7.8.3. There are no known workarounds.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.7.0.0 through 1.7.8.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
6. CVE-2021-43789: SQL injection
- What NVD says
- PrestaShop is an Open Source e-commerce web application. Versions of PrestaShop prior to 1.7.8.2 are vulnerable to blind SQL injection using search filters with `orderBy` and `sortOrder` parameters. The problem is fixed in version 1.7.8.2.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.7.5.0 to before 1.7.8.2
- What to do
- Upgrade to 1.7.8.2 or a later release, then restart the service.
7. CVE-2021-3110: SQL injection
- What NVD says
- The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.7.7.0
- What to do
- Apply the vendor's security update for your release and restart the service.
8. CVE-2020-15160: SQL injection
- What NVD says
- PrestaShop from version 1.7.5.0 and before version 1.7.6.8 is vulnerable to a blind SQL Injection attack in the Catalog Product edition page with location parameter. The problem is fixed in 1.7.6.8
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.7.5.0 to before 1.7.6.8
- What to do
- Upgrade to 1.7.6.8 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2020-4074: Improper authentication
- What NVD says
- In PrestaShop from version 1.5.0.0 and before version 1.7.6.6, the authentication system is malformed and an attacker is able to forge requests and execute admin commands. The problem is fixed in 1.7.6.6.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.5.0.0 to before 1.7.6.6
- What to do
- Upgrade to 1.7.6.6 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
10. CVE-2013-6295: Improper privilege management
- What NVD says
- PrestaShop 1.5.5 vulnerable to privilege escalation via a Salesman account via upload module
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 1.5.5.0
- What to do
- Apply the vendor's security update for your release and restart the service.
PrestaShop security checklist
- Update the core, themes, plugins and extensions as soon as security releases appear.
- Remove plugins, themes and modules you do not use.
- Give users the minimum role they need and enable two-factor authentication for administrators.
- Keep debug and development modes off in production.
- Back up files and database before every update.
- Put a web application firewall and rate limiting in front of login pages.
Where you run PrestaShop matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating PrestaShop: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than PrestaShop. A flaw anywhere in the chain can be the way in, so also review our guides to PHP vulnerabilities, MySQL vulnerabilities and Magento vulnerabilities.
How to get alerted about new PrestaShop vulnerabilities
NVD received 3 new PrestaShop CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose PrestaShop and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run PrestaShop alone. These guides cover the technologies it is most often deployed with.
- PHP vulnerabilities: PHP is the server-side language behind WordPress and most of the web.
- MySQL vulnerabilities: MySQL is the world's most widely used open-source relational database.
- Magento vulnerabilities: Magento (Adobe Commerce) is an enterprise e-commerce platform.
- OpenCart vulnerabilities: OpenCart is an open-source PHP e-commerce platform.
- Angular vulnerabilities: Angular is Google's TypeScript web application framework (AngularJS is its legacy predecessor).
- Apache Struts vulnerabilities: Apache Struts is a Java web application framework, known for the 2017 Equifax breach.
- React vulnerabilities: React is Meta's JavaScript library for building user interfaces.
Frequently asked questions about PrestaShop vulnerabilities
What are the most critical PrestaShop vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical PrestaShop CVEs include CVE-2023-30838 (CVSS 9.9), CVE-2023-39524 (CVSS 9.8), CVE-2023-39526 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have PrestaShop vulnerabilities been exploited in real attacks?
For the PrestaShop product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep PrestaShop patched.
How many vulnerabilities does PrestaShop have?
As of Nov 3, 2026 the National Vulnerability Database lists 93 CVEs for PrestaShop, with 21 rated critical by CVSS v3. 3 were published in the previous twelve months.
How can I get alerted when a new PrestaShop CVE is published?
Add PrestaShop to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose PrestaShop and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is PrestaShop secure?
PrestaShop is as secure as its patch level. NVD published 3 new PrestaShop CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2023-30838?
CVE-2023-30838 is a critical PrestaShop vulnerability with a CVSS score of 9.9, published Apr 25, 2023. PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop misses hijackable events which can lead to cross-site scripting (XSS) injection, allowed by the presence of pre-setup `@keyframes` methods.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.