# CVE-2024-5098: SourceCodester Simple Inventory System login.php sql injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:A/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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-19T06:00:04.313Z
- Modified: 2026-06-17T08:15:10.890Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in SourceCodester Simple Inventory System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file login.php. The manipulation of the argument username leads to sql injection. The exploit has been disclosed to the public and may be used. The identifier VDB-265081 was assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Simple Inventory System: 1.0
- simple_inventory_system_project simple_inventory_system: 1.0
- argie simple_inventory_system: 1.0

## Every score

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

## References

- <https://github.com/rockersiyuan/CVE/blob/main/SourceCodester%20Simple%20Inventory%20System%20Sql%20Inject-1.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.265081> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.265081> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.337056> (third-party-advisory, vdb-entry)

## Sources

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

---

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