CVE-2023-30545
MEDIUM 6.5CVSS 3.1Arbitrary file read via SQL injection
PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, it is possible for a user with access to the SQL Manager (Advanced Options -> Database) to arbitrarily read any file on the operating system when using SQL function LOAD_FILE in a SELECT request. This gives the user access to critical information. A patch is available in PrestaShop 8.0.4 and PS 1.7.8.9
- Published
- 25 Apr 2023
- Last modified
- 16 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-8r4m-5p6p-52rp
- Sources
- NVDJSONOSV GHSA-8r4m-5p6p-52rpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prestashop | prestashopcpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* |
< 1.7.8.9 | 1.7.8.9 |
| NVD | prestashop | prestashopcpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.0.4 | 8.0.4 |
| OSV | Packagist | prestashop/prestashop | >= 8.0.0, < 8.0.4 | 8.0.4 |
| OSV | Packagist | prestashop/prestashop | < 1.7.8.9 | 1.7.8.9 |
References
- https://github.com/PrestaShop/PrestaShop/commit/cddac4198a47c602878a787280d813f60c6c0630 · Patch, WEB
- https://github.com/PrestaShop/PrestaShop/commit/d900806e1841a31f26ff0a1843a6888fc1bb7f81 · Patch, WEB
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-8r4m-5p6p-52rp · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-30545 · ADVISORY
- https://github.com/PrestaShop/PrestaShop · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Apr 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Apr 2023)