CVE-2020-26248 json
Blind SQL injection during the CommentGrade process
published 2020-12-03 5 y ago modified 2026-07-08 4 mo ago also GHSA-5v44-7647-xfw9 , EUVD-2021-0491
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.4%
- EPSS 12.4% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
In the PrestaShop module "productcomments" before version 4.2.1, an attacker can use a Blind SQL injection to retrieve data or stop the MySQL service. The problem is fixed in 4.2.1 of the module.
Patch / fix
- packagist prestashop/productcomments 4.2.1
- prestashop productcomments 4.2.1
Exploit prediction
12.39% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template PrestaShop Product Comments <4.2.0 - SQL Injection nuclei detection template
- packetstormsecurity.com http://packetstormsecurity.com/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| NVD | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| GitHub | 3.0 | 8.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | prestashop/productcomments | >=4.0.0, <4.2.1 |
4.2.1 |
Affected products
- PrestaShop productcomments
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa
web, patch, third-party-advisory
-
packetstormsecurity.com
/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html
web, exploit, third-party-advisory, vdb-entry
-
github.com
/PrestaShop/productcomments/security/advisories/GHSA-5v44-7647-xfw9
web, third-party-advisory
-
packagist.org
/packages/prestashop/productcomments
web, release-notes, third-party-advisory
-
github.com
/PrestaShop/productcomments/releases/tag/v4.2.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26248
advisory
-
github.com
/PrestaShop/productcomments
package
Sources
- CVE List CVE-2020-26248
- GitHub Advisory GHSA-5v44-7647-xfw9
- NVD CVE-2020-26248
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.