CVE-2025-40687 SQL injection in PHPGurukul Online Fire Reporting System

Critical 9.3 Published Updated

Attackers can manipulate database contents via SQL injection in the admin team management endpoint of the Online Fire Reporting System.

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

CVE-2025-40687 is a critical SQL injection vulnerability in PHPGurukul Online Fire Reporting System, published on 11 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL Injection in Online Fire Reporting System v1.2 by PHPGurukul. This vulnerability allows an attacker to retrieve, create, update and delete database via 

'mobilenumber', 'teamleadname' and 'teammember' parameters in the endpoint '/ofrs/admin/add-team.php'.

Weakness: CWE-89

Which versions are affected by CVE-2025-40687?

It affects 1 product.

Products include Phpgurukul Online Fire Reporting System.

How do I fix CVE-2025-40687?

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

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

Sources

Also known as GHSA-g3xg-63p8-r3r3.

Is CVE-2025-40687 in your software?

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

Check your SBOMs for free