GHSA-hrgx-p36p-89q4 · Severity: critical · Ecosystem: composer — PrestaShop eval injection possible if shop vulnerable to SQL injection
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.
Conclusion & alert: CVE-2022-31181 is rated High Risk (66.1/100): CVSS Critical severity, with high exploitation likelihood (EPSS 5.07%, 91th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 78.27% | 5.07% | -73.20% |
| 2 | 2026-03-08 | 76.84% | 78.27% | +1.43% |
| 3 | 2026-02-27 | — | 76.84% | — |
Full EPSS history (32 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-hrgx-p36p-89q4 · Severity: critical · Ecosystem: composer — PrestaShop eval injection possible if shop vulnerable to SQL injection
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| prestashop | prestashop | >= 1.6.0.10, < 1.7.8.7 | cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 | Patch Third Party Advisory |
| https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.7 | Release Notes Third Party Advisory |
| https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-hrgx-p36p-89q4 | Mitigation Third Party Advisory |