# CVE-2024-21514: SQL injection in opencart

- Severity: High 7.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.1%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-22T05:00:04.158Z
- Modified: 2026-06-17T07:09:39.197Z
- Also known as: GHSA-7crj-24g3-g7h7
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- opencart/opencart: from 0.0.0 before *
- opencart opencart: up to *; 3.0.3.9
- opencart/opencart (Packagist): up to 3.0.3.9

## Every score

- snyk: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H/E:P`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266565> (exploit, patch, third-party-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2024-21514> (advisory)
- <https://github.com/opencart/opencart> (package)

## Sources

- CVE List: [CVE-2024-21514](https://www.cve.org/CVERecord?id=CVE-2024-21514), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-7crj-24g3-g7h7](https://github.com/advisories/GHSA-7crj-24g3-g7h7), CC-BY-4.0, modified 2024-06-25
- NVD: [CVE-2024-21514](https://nvd.nist.gov/vuln/detail/CVE-2024-21514), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21514 · Whole record: https://cve.day/CVE-2024-21514.json · Rebuilt by cve.day 2026-11-25T22:58:42.139Z
