CVE-2025-10780 CodeAstro Simple Pharmacy Management view.php sql injection

Medium 5.3 Published Updated

Remote attackers can execute SQL injection via the bar_code parameter in view.php, potentially accessing or modifying database contents.

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-10780?

CVE-2025-10780 is a medium-severity SQL injection vulnerability in CodeAstro Simple Pharmacy Management, published on 22 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was determined in CodeAstro Simple Pharmacy Management 1.0. This affects an unknown function of the file /view.php. This manipulation of the argument bar_code causes sql injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2025-10780?

It affects 1 product.

Products include Codeastro Simple Pharmacy Management System.

How do I fix CVE-2025-10780?

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

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

Sources

Also known as GHSA-wg56-q47q-fhc4.

Is CVE-2025-10780 in your software?

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

Check your SBOMs for free