CVE-2025-40696 Cross Site Scripting in PHPGurukul Online Fire Reporting System
Stored XSS in PHPGurukul Online Fire Reporting System allows attackers to steal session cookies from authenticated users via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-40696?
CVE-2025-40696 is a medium-severity cross-site scripting vulnerability in PHPGurukul Online Fire Reporting System, published on 11 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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 'fullname', 'location' and 'message' parameters via POST at the endpoint '/ofrs/reporting.php'. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal its cookie session details.
Weakness: CWE-79
Which versions are affected by CVE-2025-40696?
It affects 1 product.
Products include Phpgurukul Online Fire Reporting System.
How do I fix CVE-2025-40696?
No fix has been published for CVE-2025-40696 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-40696 being exploited?
There is no known exploitation of CVE-2025-40696 in the wild and no public exploit code.
Other vulnerabilities in PHPGurukul Online Fire Reporting System
- CVE-2025-40687 SQL injection in PHPGurukul Online Fire Reporting System
- CVE-2025-40689 SQL injection in PHPGurukul Online Fire Reporting System
- CVE-2025-40690 SQL injection in PHPGurukul Online Fire Reporting System
- CVE-2025-40691 SQL injection in PHPGurukul Online Fire Reporting System
- CVE-2025-40692 SQL injection in PHPGurukul Online Fire Reporting System
Sources
Also known as GHSA-mg4w-ccc5-hpc5.