CVE-2024-40392: SourceCodester Pharmacy/Medical Store Point of Sale System Using PHP/MySQL and Bootstrap Framework with Source
CVE-2024-40392 is a critical-severity flaw (CVSS 9.8) affecting pharmacy\/medical store point of sale system. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SourceCodester Pharmacy/Medical Store Point of Sale System Using PHP/MySQL and Bootstrap Framework with Source Code 1.0 was discovered to contain a SQL injection vulnerability via the name parameter under addnew.php.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 57%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2024-07-16 |
| 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-40392?
pharmacy\/medical store point of sale system: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-40392 being exploited?
CVE-2024-40392 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-40392 affect?
CVE-2024-40392 affects pharmacy\/medical store point of sale system. Severity is critical (CVSS 9.8). SourceCodester Pharmacy/Medical Store Point of Sale System Using PHP/MySQL and Bootstrap Framework with Source Code 1.0 was discovered to contain a SQL injection vulnerability via the name parameter under addnew.php.
How urgent is CVE-2024-40392?
Priority 60/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
PHP vulnerabilities · MySQL vulnerabilities · Bootstrap vulnerabilities
Related CVEs
- CVE-2024-36673 CRITICAL 9.8 DOWNGRADE Sourcecodester Pharmacy/Medical Store Point of Sale System 1.0 is vulnerable SQL Injection via login.php