# CVE-2023-1940: SourceCodester Simple and Beautiful Shopping Cart System delete_user_query.php sql injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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.64%, higher than 52% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-07T17:31:03.086Z
- Modified: 2026-06-17T05:29:04.840Z
- Weaknesses: CWE-89
- Assigned by: VulDB

## Description

A vulnerability classified as critical was found in SourceCodester Simple and Beautiful Shopping Cart System 1.0. This vulnerability affects unknown code of the file delete_user_query.php. The manipulation of the argument user_id leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-225316.

(As written by CVE List.)

## Affected

- SourceCodester Simple and Beautiful Shopping Cart System: 1.0
- simple_and_beautiful_shopping_cart_system_project simple_and_beautiful_shopping_cart_system: 1.0

## Every score

- 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.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/anchnet-security/Mkshope/blob/main/simple%20and%20beautiful%20shopping%20cart%20system%20delete_user_query.php%20has%20Sqlinjection.pdf> (exploit, third-party-advisory)
- <https://vuldb.com/?id.225316> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.225316> (permissions-required, signature, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-1940 · Whole record: https://cve.day/CVE-2023-1940.json · Rebuilt by cve.day 2026-11-25T22:58:23.331Z
