The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-31101

CVE-2022-31101: Prestashop Blockwishlist SQLi Vulnerability

CVE-2022-31101 is a SQL injection vulnerability in Prestashop Blockwishlist that allows authenticated customers to execute malicious SQL queries. This article covers technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-31101 Overview

CVE-2022-31101 is a SQL Injection vulnerability affecting the PrestaShop Blockwishlist extension, a popular e-commerce module that enables customers to create and manage product wishlists. The vulnerability allows authenticated customers to perform SQL injection attacks against the underlying database, potentially leading to unauthorized data access, modification, or complete database compromise.

Critical Impact

Authenticated users can exploit this SQL injection vulnerability to extract sensitive customer data, modify database contents, or potentially escalate attacks to achieve remote code execution on affected PrestaShop installations.

Affected Products

  • PrestaShop Blockwishlist versions prior to 2.1.1
  • PrestaShop e-commerce installations using vulnerable Blockwishlist module
  • Online stores with customer wishlist functionality enabled

Discovery Timeline

  • 2022-06-27 - CVE-2022-31101 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-31101

Vulnerability Analysis

This SQL injection vulnerability exists in the Blockwishlist extension's product search functionality, specifically within the WishListProductSearchProvider.php component. The flaw stems from insufficient input validation and sanitization of user-supplied parameters before they are incorporated into SQL queries.

The vulnerability requires authentication, meaning an attacker must have a valid customer account on the PrestaShop store. However, since customer registration is typically open on e-commerce platforms, this presents a low barrier to exploitation. Once authenticated, an attacker can craft malicious input through the wishlist functionality to inject arbitrary SQL commands into database queries.

Successful exploitation could allow attackers to bypass application-level security controls, extract sensitive information from the database (including customer credentials, payment information, and order details), modify or delete data, and potentially achieve further system compromise depending on database configuration and privileges.

Root Cause

The root cause of CVE-2022-31101 is improper input validation in the wishlist product search functionality. The vulnerable code fails to properly validate user input before incorporating it into SQL queries, violating secure coding principles around parameterized queries and input sanitization.

The security patch addresses this by introducing the Validate class for proper input validation:

php
 use Product;
 use Shop;
 use Symfony\Component\Translation\TranslatorInterface;
+use Validate;
 use WishList;

 /**

Source: GitHub Commit Update

The fix introduces proper validation through PrestaShop's Validate utility class, ensuring user input is sanitized before being used in database operations.

Attack Vector

The attack is network-based and can be executed remotely by any authenticated customer. The attacker creates or logs into a customer account, navigates to wishlist functionality, and injects malicious SQL syntax through vulnerable input fields or API parameters. The low complexity of exploitation combined with the availability of public exploit information on ExploitDB increases the risk profile for unpatched installations.

Detection Methods for CVE-2022-31101

Indicators of Compromise

  • Unusual SQL error messages in web server logs originating from wishlist-related endpoints
  • Abnormal database queries containing SQL syntax characters (single quotes, UNION statements, OR 1=1 patterns) in wishlist parameters
  • Unexpected database access patterns from customer-associated sessions
  • Evidence of data exfiltration or unauthorized database reads in audit logs

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in HTTP requests targeting /module/blockwishlist/ endpoints
  • Monitor application logs for SQL syntax errors or database exceptions related to wishlist functionality
  • Deploy database activity monitoring to detect anomalous query patterns or unauthorized data access
  • Review PrestaShop module versions and cross-reference against known vulnerable versions (prior to 2.1.1)

Monitoring Recommendations

  • Enable detailed logging for the Blockwishlist module and related database operations
  • Configure alerting for multiple failed database queries or SQL errors from single customer sessions
  • Implement rate limiting on wishlist API endpoints to slow potential exploitation attempts
  • Regularly audit installed PrestaShop modules against the GitHub Security Advisory

How to Mitigate CVE-2022-31101

Immediate Actions Required

  • Upgrade PrestaShop Blockwishlist module to version 2.1.1 or later immediately
  • If immediate patching is not possible, consider temporarily disabling the Blockwishlist module
  • Audit database access logs for any signs of previous exploitation
  • Review customer accounts for suspicious activity or unauthorized data access
  • Implement WAF rules to block common SQL injection attack patterns

Patch Information

PrestaShop has released version 2.1.1 of the Blockwishlist module which addresses this vulnerability. The fix is available through the official PrestaShop addons marketplace and the GitHub repository commit. The patch introduces proper input validation using PrestaShop's Validate class to sanitize user input before database operations.

Administrators should update through the PrestaShop back office module manager or manually download and install the patched version from the official repository.

Workarounds

  • There are no official workarounds provided by the vendor for this vulnerability
  • As a temporary measure, disable the Blockwishlist module entirely until patching is possible
  • Implement strict WAF rules to filter SQL injection patterns on wishlist endpoints
  • Restrict wishlist functionality to trusted user groups if business requirements allow
bash
# Configuration example - Disable module via PrestaShop CLI
php bin/console prestashop:module disable blockwishlist

# Verify current module version
php bin/console prestashop:module list | grep blockwishlist

# Update module to patched version
php bin/console prestashop:module upgrade blockwishlist

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPrestashop

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability32.92%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • Packet Storm SQL Injection

  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2025-69633: PrestaShop Advanced Popup SQL Injection

  • CVE-2024-36683: PrestaShop Products Alert SQL Injection

  • CVE-2024-36680: PrestaShop Facebook Module SQLi Flaw

  • CVE-2026-33674: PrestaShop Validation Framework Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English