# CVE-2022-31101: SQL Injection in prestashop/blockwishlist

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 23.5%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-25T07:11:45.000Z
- Modified: 2026-06-17T04:44:47.967Z
- Also known as: GHSA-2jx3-5j9v-prpp
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- PrestaShop blockwishlist: >= 2.0.0, < 2.1.1; before 2.1.1
- prestashop/blockwishlist (Packagist): from 2.0.0 before 2.1.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <http://packetstormsecurity.com/files/168003/Prestashop-Blockwishlist-2.1.0-SQL-Injection.html> (exploit, third-party-advisory, vdb-entry, web)
- <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)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31101> (advisory)
- <https://github.com/PrestaShop/blockwishlist> (package)

## Sources

- CVE List: [CVE-2022-31101](https://www.cve.org/CVERecord?id=CVE-2022-31101), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-2jx3-5j9v-prpp](https://github.com/advisories/GHSA-2jx3-5j9v-prpp), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31101](https://nvd.nist.gov/vuln/detail/CVE-2022-31101), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31101 · Whole record: https://cve.day/CVE-2022-31101.json · Rebuilt by cve.day 2026-11-25T22:58:12.603Z
