# CVE-2024-9974: SourceCodester Online Eyewear Shop POST Request Master.php sql injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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.57%, higher than 48% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-15T09:31:07.285Z
- Modified: 2026-06-17T08:25:37.367Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Online Eyewear Shop 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file classes/Master.php?f=add_to_card of the component POST Request Handler. The manipulation of the argument product_id leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Online Eyewear Shop: 1.0
- sourcecodester online_eyewear_shop: 1.0
- oretnom23 online_eyewear_shop: 1.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/higordiego/2373b9e3e89f03e5f8888efd38eb4b48> (exploit, third-party-advisory)
- <https://vuldb.com/?id.280339> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.280339> (permissions-required, signature)
- <https://vuldb.com/?submit.423231> (third-party-advisory)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2024-9974](https://www.cve.org/CVERecord?id=CVE-2024-9974), CVE Terms of Use, modified 2024-10-15
- NVD: [CVE-2024-9974](https://nvd.nist.gov/vuln/detail/CVE-2024-9974), Public domain, modified 2026-06-17

---

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