CVE-2025-7857 Details
Description
A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. It has been rated as problematic. Affected by this issue is some unknown functionality of the file bwdates-passreports-details.php of the component HTTP POST Request Handler. The manipulation of the argument visname leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
A stored cross-site scripting vulnerability has been identified in PHPGurukul Apartment Visitors Management System version 1.0. The issue arises from inadequate input sanitization and the absence of output encoding on the 'visname' parameter, which is submitted via a POST request to '/avms/create-pass.php'. This user-generated input is saved and subsequently displayed on '/bwdates-passreports-details.php' without any escaping or filtering. As a result, attackers can inject malicious JavaScript that executes in the browser of any user, including administrators, who views the page.
It is recommended to implement proper output encoding, input validation, and to apply a Content Security Policy (CSP) to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HieuGITLAB/my-cves/issues/9 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://phpgurukul.com/ | [email protected] | Product |
| https://vuldb.com/?ctiid.316970 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.316970 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.616867 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpgurukul apartment visitors management system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jul 29, 2025 | Initial Analysis | [email protected] |
| Jul 19, 2025 | New CVE Received | [email protected] |