CVE-2025-40731 SQL injection vulnerability in Daily Expense Manager

High 8.7 Published Updated

An attacker can retrieve, create, update, and delete database records via SQL injection in the update.php parameters of Daily Expense Manager.

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

CVE-2025-40731 is a high-severity SQL injection vulnerability in Daily Expense Manager, published on 30 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in Daily Expense Manager v1.0. This vulnerability allows an attacker to retrieve, create, update and delete databases through the pname, pprice and id parameters in /update.php.

Weakness: CWE-89

Which versions are affected by CVE-2025-40731?

It affects 1 product.

Products include Code-Projects Daily Expense Manager.

How do I fix CVE-2025-40731?

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

There is no known exploitation of CVE-2025-40731 in the wild and no public exploit code.

Sources

Also known as GHSA-v3h2-63cj-q48p.

Is CVE-2025-40731 in your software?

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

Check your SBOMs for free