CVE-2024-40402: A SQL injection vulnerability was found in 'ajax.php' of Sourcecodester Simple Library Management System 1.0
CVE-2024-40402 is a medium-severity flaw (CVSS 6.3) affecting simple library management system. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 70%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2024-07-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-40402?
simple library management system: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-40402 being exploited?
CVE-2024-40402 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-40402 affect?
CVE-2024-40402 affects simple library management system. Severity is medium (CVSS 6.3). 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 malicio
How urgent is CVE-2024-40402?
Priority 35/100. Public exploit reference
Software pages
Related CVEs
- CVE-2024-40394 CRITICAL 9.8 DOWNGRADE Simple Library Management System Project Using PHP/MySQL v1.0 was discovered to contain an arbitrary file uplo