SQL Injection Affecting prestashop/blockwishlist package, versions >=2.0.0, <2.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.98% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PRESTASHOPBLOCKWISHLIST-2935908
  • published26 Jun 2022
  • disclosed25 Jun 2022
  • credithaiclover

Introduced: 25 Jun 2022

CVE-2022-31101  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade prestashop/blockwishlist to version 2.1.1 or higher.

Overview

prestashop/blockwishlist is an Adds a block containing the customer's wishlists to a PrestaShop store

Affected versions of this package are vulnerable to SQL Injection in WishListProductSearchProvider.php due to missing validations for sorting operations.

CVSS Base Scores

version 3.1