CVE-2024-21514
HIGH 8.1CVSS 3.1SQL injection in opencart
This affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension for OpenCart, which is included by default in version 3.0.3.9. As an anonymous unauthenticated user, if the Divido payment module is installed (it does not have to be enabled), it is possible to exploit SQL injection to gain unauthorised access to the backend database. For any site which is vulnerable, any unauthenticated user could exploit this to dump the entire OpenCart database, including customer PII data.
- Published
- 22 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-7crj-24g3-g7h7
- Sources
- NVDJSONOSV GHSA-7crj-24g3-g7h7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opencart | opencartcpe:2.3:a:opencart:opencart:3.0.3.9:*:*:*:*:*:*:* |
= 3.0.3.9 | |
| OSV | Packagist | opencart/opencart | <= 3.0.3.9 |
References
- https://github.com/opencart/opencart/blob/3.0.3.9/upload/catalog/model/extension/payment/divido.php%23L114 · Product, WEB
- https://github.com/opencart/opencart/commit/46bd5f5a8056ff9aad0aa7d71729c4cf593d67e2 · Patch, WEB
- https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266565 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21514 · ADVISORY
- https://github.com/opencart/opencart · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 Jun 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Jun 2024)