CVE-2026-9342 SourceCodester Hospitals Patient Records Management System view_history.php sql injection
Remote attackers can exploit SQL injection in the patient history view to read or modify database records.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-9342?
CVE-2026-9342 is a medium-severity SQL injection vulnerability in SourceCodester Hospitals Patient Records Management System, published on 23 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security flaw has been discovered in SourceCodester Hospitals Patient Records Management System 1.0. Impacted is an unknown function of the file /admin/patients/view_history.php. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
Which versions are affected by CVE-2026-9342?
How do I fix CVE-2026-9342?
No fix has been published for CVE-2026-9342 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-9342 being exploited?
There is no known exploitation of CVE-2026-9342 in the wild and no public exploit code.
Sources
Also known as GHSA-fv8j-whg3-8v9w.