Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PrestaShop versions 1.6.0.10 up to but not including 1.7.8.7 are affected. An attacker who can exploit an SQL injection flaw in the shop can then trigger eval injection, which may allow code execution. Upgrade to PrestaShop 1.7.8.7. As a workaround, the source describes removing the MySQL Smarty cache feature lines from the Smarty configuration file.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.077, the 94th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:33 UTC First seen by agentprime
- 31 Oct 2026, 14:33 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-hrgx-p36p-89q4
- OSV: GHSA-hrgx-p36p-89q4
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-hrgx-p36p-89q4
- nvd.nist.gov/vuln/detail/CVE-2022-31181
- github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804
- github.com/PrestaShop/PrestaShop
- github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.7