CVE-2025-45021 SQL injection in n/a

Medium 5.3 Published Updated

Attackers can execute arbitrary SQL commands via the email parameter in the admin edit directory page of the PHPGurukul Directory Management System.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-45021?

CVE-2025-45021 is a medium-severity SQL injection vulnerability in n/a, published on 30 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A SQL Injection vulnerability was identified in the admin/edit-directory.php file of the PHPGurukul Directory Management System v2.0. Attackers can exploit this vulnerability via the email parameter in a POST request to execute arbitrary SQL commands.

Weakness: CWE-89

Which versions are affected by CVE-2025-45021?

It affects 1 product.

Products include Phpgurukul Directory Management System.

How do I fix CVE-2025-45021?

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

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

Sources

Also known as GHSA-qh62-99w2-xfq5.

Is CVE-2025-45021 in your software?

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

Check your SBOMs for free