# CVE-2023-1957: SourceCodester Online Computer and Laptop Store Subcategory 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.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-08T10:31:03.498Z
- Modified: 2026-06-17T05:29:08.097Z
- Weaknesses: CWE-89
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in SourceCodester Online Computer and Laptop Store 1.0. Affected by this issue is some unknown functionality of the file /classes/Master.php?f=save_sub_category of the component Subcategory Handler. The manipulation of the argument sub_category leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-225344.

(As written by CVE List.)

## Affected

- SourceCodester Online Computer and Laptop Store: 1.0
- oretnom23 online_computer_and_laptop_store: 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 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/boyi0508/Online-Computer-and-Laptop-Store/blob/main/SQL%20injection%20exists%20at%20the%20newly%20added%20subcategory%20list.pdf> (exploit, broken-link, third-party-advisory)
- <https://vuldb.com/?id.225344> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.225344> (permissions-required, signature, third-party-advisory)

## Sources

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

---

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