CVE-2025-57254 SQL injection in n/a

Medium 6.5 Published Updated

Remote attackers can execute arbitrary SQL queries via unsanitized login parameters, leading to unauthorized access and exposure of sensitive medical data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-57254?

CVE-2025-57254 is a medium-severity SQL injection vulnerability in n/a, published on 30 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An SQL injection vulnerability in user-login.php and index.php of Karthikg1908 Hospital Management System (HMS) 1.0 allows remote attackers to execute arbitrary SQL queries via the username and password POST parameters. The application fails to properly sanitize input before embedding it into SQL queries, leading to unauthorized access or potential data breaches. This can result in privilege escalation, account takeover, or exposure of sensitive medical data.

Weakness: CWE-89

Which versions are affected by CVE-2025-57254?

How do I fix CVE-2025-57254?

No fix has been published for CVE-2025-57254 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-2025-57254 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57254 exists.

Sources

Also known as GHSA-j4g5-gmc2-6cfx.

Is CVE-2025-57254 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free