CVE-2026-2059CWE-74CWE-89

SourceCodester Medical Center Portal Management System emp_edit1.php sql injection

Medium · published February 6, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
39.6
In the wild
Unconfirmed
What it is

⚠️ A crafty SQL injection vulnerability lurks in the SourceCodester Medical Center Portal Management System 1.0, just waiting for the right ID manipulation! 🚨 Think of it like a restaurant where the menu is open to anyone, and they can alter their order with a sneaky note. If the kitchen doesn’t validate those notes, they might end up cooking something totally unexpected! An attacker could exploit this vulnerability to manipulate the database, potentially accessing or altering sensitive patient information. This could lead to data breaches or unauthorized changes to records, putting not only the system but also patients' privacy at serious risk.

Put simply

Think of it like a restaurant where the menu is open to anyone, and they can alter their order with a sneaky note. If the kitchen doesn’t validate those notes, they might end up cooking something totally unexpected! This SQL injection flaw occurs when an attacker manipulates the 'ID' argument in the /emp_edit1.php file, allowing for unauthorized database queries to be executed remotely. Without proper validation, the application can be tricked into running malicious SQL commands.

What to do

An attacker could exploit this vulnerability to manipulate the database, potentially accessing or altering sensitive patient information. This could lead to data breaches or unauthorized changes to records, putting not only the system but also patients' privacy at serious risk. To remediate this, ensure that all inputs to the /emp_edit1.php file are properly validated and sanitized. It’s also crucial to implement prepared statements to prevent SQL injection and regularly update the system to the latest version. You've got this! With these steps, you can secure your application and keep the data safe! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.00469 · 39.6th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-02-06T17:02Z
EPSS history
Timeline
  • 06 FEB 17:02Z
    SourceCodester Medical Center Portal Management System emp_edit1.php sql injection
    cvelistv5