8.1high
SQL Injection in prestashop/blockwishlist
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 23.5% (higher than 97% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2jx3-5j9v-prpp
Description
prestashop/blockwishlist is a prestashop extension which adds a block containing the customer's wishlists. In affected versions an authenticated customer can perform SQL injection. This issue is fixed in version 2.1.1. Users are advised to upgrade. There are no known workarounds for this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PrestaShop blockwishlist | >= 2.0.0, < 2.1.1, before 2.1.1 | CVE List, NVD |
| prestashop/blockwishlist (Packagist) | from 2.0.0 before 2.1.1 | GitHub Advisory Database |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
prestashop/blockwishlist is a prestashop extension which adds a block containing the customer's wishlists. In affected versions an authenticated customer can perform SQL injection. This issue is fixed in version 2.1.1. Users are advised to upgrade. There are no known workarounds for this issue.
GitHub Advisory Database
Impact
An authenticated customer can perform SQL injection
Patches
Issue is fixed in 2.1.1
NVD (es)
prestashop/blockwishlist es una extensión de prestashop que añade un bloque que contiene las listas de deseos del cliente. En las versiones afectadas un cliente autenticado puede llevar a cabo una inyección SQL. Este problema ha sido corregido en versión 2.1.1. Es recomendado a usuarios actualizar. No se presentan mitigaciones conocidas para este problema
References
| https://github.com/PrestaShop/blockwishlist/security/advisories/GHSA-2jx3-5j9v-prpp | third-party-advisory, web | |
| https://github.com/PrestaShop/blockwishlist/commit/b3ec4b85af5fd73f74d55390b226d221298ca084 | patch, third-party-advisory, web | |
| http://packetstormsecurity.com/files/168003/Prestashop-Blockwishlist-2.1.0-SQL-Injection.html | exploit, third-party-advisory, vdb-entry, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31101 | advisory | |
| https://github.com/PrestaShop/blockwishlist | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31101 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2jx3-5j9v-prpp changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31101 changed 2026-06-17 | Public domain |