# CVE-2024-40402: A SQL injection vulnerability was found in 'ajax.php' of Sourcecodester Simple Library Management System 1.0.

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `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.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-17T00:00:00.000Z
- Modified: 2026-06-17T07:45:49.993Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A SQL injection vulnerability was found in 'ajax.php' of Sourcecodester Simple Library Management System 1.0. This vulnerability stems from insufficient user input validation of the 'username' parameter, allowing attackers to inject malicious SQL queries.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sourcecodester simple_library_management_system: 1.0
- nikhil-bhalerao simple_library_management_system: 1.0

## References

- <https://github.com/CveSecLook/cve/issues/49> (exploit, third-party-advisory)

## Sources

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

---

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