CVE-2021-3110
Prestashop vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2021-3110) affects PrestaShop version 1.7.7.0, an open-source e-commerce solution. The vulnerability was discovered and disclosed on January 7, 2021, and involves a time-based boolean SQL injection vulnerability in the store system (CVE Details, NVD).

Technical details

The vulnerability exists in the store system's product comments module, specifically in the CommentGrade controller when processing the id_products[] parameter. It is classified as a time-based SQL injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command). The CVSS v3.1 base score is 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers to perform time-based boolean SQL injection attacks against the affected PrestaShop installation. This could potentially lead to unauthorized access to the database, data theft, and manipulation of database contents (Medium Blog).

Exploitability

A proof-of-concept exploit has been published demonstrating the vulnerability. The exploit involves sending a specially crafted request to the CommentGrade controller with a malicious SQL payload that induces time delays in the server response (Exploit DB, Medium Blog).

Mitigation and workarounds

Several mitigation strategies are recommended: 1) Use prepared statements, 2) Implement stored procedures, 3) Apply whitelisting characters, and 4) Configure the application database with least privilege principles (Medium Blog).

Additional resources


SourceThis report was generated using AI

Related Prestashop vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44212CRITICAL9.3
  • PHP logoPHP
  • prestashop/prestashop
NoYesMay 14, 2026
CVE-2026-33673MEDIUM5.4
  • PHP logoPHP
  • cpe:2.3:a:prestashop:prestashop
NoYesMar 26, 2026
CVE-2026-33674MEDIUM5.3
  • PHP logoPHP
  • cpe:2.3:a:prestashop:prestashop
NoYesMar 26, 2026
CVE-2026-25597MEDIUM5.3
  • PHP logoPHP
  • cpe:2.3:a:prestashop:prestashop
NoYesFeb 06, 2026
CVE-2025-61924LOW3.8
  • PHP logoPHP
  • prestashop/ps_checkout
NoYesOct 16, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management