# CVE-2026-7228: SourceCodester Pizzafy Ecommerce System ajax.php get_cart_count sql injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/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): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-28T05:15:12.091Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in SourceCodester Pizzafy Ecommerce System 1.0. The affected element is the function get_cart_count of the file /admin/ajax.php?action=get_cart_count. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Pizzafy Ecommerce System: 1.0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/fernando-mengali/vulndb-submissions/blob/main/05-vul-SQLI.md> (exploit)
- <https://vuldb.com/vuln/359828> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/359828/cti> (permissions-required, signature)
- <https://vuldb.com/submit/802416> (third-party-advisory)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2026-7228](https://www.cve.org/CVERecord?id=CVE-2026-7228), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2026-7228](https://nvd.nist.gov/vuln/detail/CVE-2026-7228), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-7228 · Whole record: https://cve.day/CVE-2026-7228.json · Rebuilt by cve.day 2026-11-25T22:59:19.859Z
