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

Critical 9.3 Published Updated

An attacker can manipulate the 'todate' parameter to read, create, update, or delete database records in 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-40691?

CVE-2025-40691 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 

'todate' parameter in the endpoint '/ofrs/admin/bwdates-report-result.php'.

Weakness: CWE-89

Which versions are affected by CVE-2025-40691?

It affects 1 product.

Products include Phpgurukul Online Fire Reporting System.

How do I fix CVE-2025-40691?

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

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

Sources

Also known as GHSA-52m5-qhx2-x9w6.

Is CVE-2025-40691 in your software?

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

Check your SBOMs for free