PHPGurukul Apartment Visitors Management System
CVE-2025-7815
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege admin credentials (via password reuse or account compromise)
-
DeliveryCraft malicious URL with XSS payload in visname parameter
-
ExploitSend phishing email with crafted URL to victim admin
-
ExecutionVictim clicks link while logged in
-
PersistMalicious script executes in victim's browser session
-
ImpactAttacker captures session cookies or performs privileged actions
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 the attacker to possess high-privilege (administrator-level) authenticated credentials for the Apartment Visitors Management System. Additionally, the victim user must be actively logged into the application and must click on the attacker-crafted malicious link sent to them. The vulnerable endpoint /manage-newvisitors.php must be accessible and must process the visname parameter via HTTP POST or GET without sanitization. The attack does not function against default installations unless the attacker has prior access to valid admin credentials, making this a low-risk vulnerability in typical deployment scenarios where credential hygiene is maintained. |
| Impact | This vulnerability carries minimal real-world risk despite the public availability of exploit code. The CVSS 4.0 vector reveals multiple severe constraints: PR:H (requires high-privilege authenticated account), UI:P (requires the victim to click a malicious link), and very limited scope (VC:N/VI:L/VA:N, affecting only confidentiality). The EPSS score of 0.05% (15th percentile) reinforces that automated exploitation is improbable. The attack requires both an attacker with administrative or high-privilege credentials and successful social engineering to trick another user into clicking a crafted URL. In practice, an insider threat actor would have direct database access and would not rely on XSS. This is a low-priority vulnerability suitable for standard patching cycles rather than emergency remediation. The public availability of exploit code increases transparency but does not materially increase risk given the stringent prerequisites. |
| Exploit ScenarioDerived | An attacker with administrative credentials (or who has compromised an admin account) crafts a malicious URL containing a JavaScript payload in the visname parameter (e.g., /manage-newvisitors.php?visname=<img src=x onerror=alert(1)>) and sends it to another logged-in administrator via email or chat. When the victim clicks the link, the JavaScript executes in their browser session, potentially allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect the victim to a phishing page. Public exploit code has been disclosed on GitHub, enabling less-skilled attackers to generate such payloads. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site scripting vulnerability in PHPGurukul Apartment Visitors Management System 1.0 allows authenticated users with high privileges to inject malicious scripts via the visname parameter in the /manage-newvisitors.php endpoint, exploitable only when the victim user clicks a crafted link. The CVSS score of 1.9 reflects the severe privilege requirement (PR:H), mandatory user interaction (UI:P), and limited impact (integrity only); EPSS exploitation probability is minimal at 0.05%, indicating this poses negligible real-world risk despite publicly available exploit code.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary mitigation is to upgrade to a newer version if available, or contact PHPGurukul for security updates. As an immediate compensating control, implement HTML entity encoding (using PHP htmlspecialchars() or htmlentities() with ENT_QUOTES) on all output derived from the visname parameter and other user inputs in /manage-newvisitors.php. Additionally, enforce Content-Security-Policy (CSP) headers with strict script-src directives to prevent inline script execution. Restrict administrative access to /manage-newvisitors.php to trusted users only and disable high-privilege user accounts that are no longer in active use. Implement input validation to reject visname values containing HTML special characters (<, >, ", ', &) at the point of entry.
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 is a reflected or stored cross-site scripting (XSS) flaw classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), occurring in the HTTP POST request handler for /manage-newvisitors.php. The visname parameter fails to sanitize or encode user-supplied input before rendering it in the response, allowing an attacker to inject arbitrary HTML and JavaScript. The PHP application processes visitor registration data without implementing output encoding or content security policy controls. This is a common pattern in PHP management applications when user-facing forms lack proper input validation and output encoding libraries.
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:H/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, which was classified as problematic, has been found in PHPGurukul Apartment Visitors Management System 1.0. This issue affects some unknown processing of the file /manage-newvisitors.php of the component HTTP POST Request Handler. The manipulation of the argument visname leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.
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