---
cve: "CVE-2022-31181"
severity: "CRITICAL"
cvss: 9.8
epss: "6.5%"
vendor: "PrestaShop"
kev: false
exploited: false
published: "2022-08-01 20:15:08"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-18T01:57:57+02:00"
---

# CVE-2022-31181

> 9.8 CRITICAL · 🧪 PoC

## Beschreibung

PrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerability which can be chained to call PHP's Eval function on attacker input. The problem is fixed in version 1.7.8.7. Users are advised to upgrade. Users unable to upgrade may delete the MySQL Smarty cache feature.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 995d496e2eb6e1d95a9c066342d4361b332c2c57 (Commit)
- b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 (Commit)

## Referenzen

- <https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-hrgx-p36p-89q4>
- <https://github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804>
- <https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.7>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-31181) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
