CVE-2025-51671 SQL injection in n/a

Medium 5.4 Published Updated

Remote attackers can execute arbitrary SQL code via POST parameters in the Dairy Farm Shop Management System, potentially compromising database integrity and confidentiality.

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-2025-51671?

CVE-2025-51671 is a medium-severity SQL injection vulnerability in n/a, published on 26 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A SQL injection vulnerability was discovered in the PHPGurukul Dairy Farm Shop Management System 1.3. The vulnerability allows remote attackers to execute arbitrary SQL code via the category and categorycode parameters in a POST request to the manage-categories.php file.

Weakness: CWE-89

Which versions are affected by CVE-2025-51671?

It affects 1 product.

Products include Phpgurukul Dairy Farm Shop Management System.

How do I fix CVE-2025-51671?

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

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

Sources

Also known as GHSA-462q-5hcm-pmww.

Is CVE-2025-51671 in your software?

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

Check your SBOMs for free