patchminder
Proof of concept · GitHub CVE-2023-30839

SQL injectionin PrestaShop.

Published 25 Apr 2023 · Updated 3 Feb 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.7.8.9, 8.0.4
In plain words

PrestaShop is an Open Source e-commerce web application. Versions prior to 8.0.4 and 1.7.8.9 contain a SQL filtering vulnerability. A BO user can write, update, and delete in the database, even without having specific rights. PrestaShop 8.0.4 and 1.7.8.9 contain a patch for this issue. There are no known workarounds.

What to do now
  • Upgrade PrestaShop to 1.7.8.9, 8.0.4 or later, whichever matches your release line.
  • Upgrade prestashop/prestashop (Packagist) to 1.7.8.9, 8.0.4 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
PrestaShop
8.0.0 to before 8.0.4
8.0.4
CVE record
PrestaShop
before 1.7.8.9
1.7.8.9
CVE record
prestashop/prestashop (Packagist)
8.0.0 to before 8.0.4
8.0.4
GitHub advisory
prestashop/prestashop (Packagist)
before 1.7.8.9
1.7.8.9
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 18 Apr 2023
    CVE ID reserved by GitHub_M.
  2. 25 Apr 2023
    Published in the CVE List.
  3. 27 Apr 2023
    First public proof of concept on GitHub.
  4. 3 Feb 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs founddrkbcn/lblfixer_cve_2023_308390 stars · created 27 Apr 2023PrestaShop <1.7.8.9 Fix for CVE-2023-30839 and CVE-2023-30545

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other PrestaShop vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-30839: SQL injection in PrestaShop. https://patchminder.com/cve/cve-2023-30839/ (accessed 5 December 2026).