Skip to main content
VulnerabilityPublished

CVE-2025-40694: PHPGurukul Online Fire Reporting System · XSS or 'Cross-site Scripting'

Affects PHPGurukul Online Fire Reporting SystemSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
PHPGurukul Online Fire Reporting SystemAffected
  • =1.2
Fixed in–

AI-suggested

To mitigate this vulnerability, organizations should implement strict input validation and output encoding for the 'fromdate' and 'todate' parameters in the affected endpoint. Specifically, input should be validated to accept only properly formatted date strings (e.g., YYYY-MM-DD) and reject any input containing script tags or suspicious characters. Output encoding should be applied to ensure that any user-supplied data rendered in the HTML context is safely escaped to prevent script execution. Until an official patch is released by PHPGurukul, administrators should consider the following practical steps: 1) Restrict access to the '/ofrs/admin/bwdates-report-result.php' endpoint to trusted IP addresses or VPN users to reduce exposure. 2) Implement Web Application Firewall (WAF) rules that detect and block common XSS payloads targeting the vulnerable parameters. 3) Educate users to avoid clicking on suspicious links or submitting untrusted data within the application. 4) Monitor application logs for unusual input patterns or repeated access to the vulnerable endpoint. 5) Consider deploying Content Security Policy (CSP) headers to limit the execution of unauthorized scripts within the application context. 6) Plan for an update or patch deployment as soon as the vendor releases a fix. These steps go beyond generic advice by focusing on the specific parameters and endpoint involved, as well as operational controls to reduce risk in the interim.

Description

Stored Cross Site Scripting in Online Fire Reporting System v1.2 by PHPGurukul, that consists in a stored authenticated XSS due to the lack of propper validation of user inputs 'fromdate' and 'todate' parameters via POST at the endpoint '/ofrs/admin/bwdates-report-result.php'. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal its cookie session details.

References

Community reviews

Loading reviews…