Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as admin
-
DeliveryAccess /panel/edit-staff.php
-
ExploitInject XSS payload in Staff Name field
-
InstallSave staff record
-
C2Victim admin views staff listing page
-
ExecuteScript executes in victim's browser
-
ImpactSteal session cookie or deface page
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A03:2021 - Injection
ASVS 5.0
V5 - Validation, Sanitization and Encoding Input validation, output encoding, parameterized queries
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 | Requires authentication with high privileges (admin role) to access the /panel/edit-staff.php page. The Staff Name field is vulnerable by default with no additional configuration needed. Successful exploitation depends on a victim admin user viewing the staff listing page where the injected script is rendered. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/PR:H/UI:P) assigns a base score of 1.9, indicating low severity due to high privileges required, user interaction, and only low integrity impact. EPSS predicts a 0.04% probability of exploitation (13th percentile), extremely low. No evidence of active exploitation (not in CISA KEV). The attack requires an authenticated admin to inject and another to view the page, making wide exploitation unlikely. Public exploit availability does not change the low real-world risk; SSVC assessment suggests a low-priority issue. |
| Exploit ScenarioDerived | An authenticated admin logs into the salon management system, navigates to /panel/edit-staff.php, and enters a malicious JavaScript payload (e.g., <script>alert('XSS')</script>) in the Staff Name field. When another admin later opens the staff listing page, the unsanitized payload executes in their browser, enabling session cookie theft or arbitrary actions on their behalf. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 26, 2026
Cross-site scripting in Best Salon Management System 1.0 allows authenticated high-privilege users to inject malicious scripts via the Staff Name field on the edit-staff page. A remote attacker with admin access can store a payload that executes in the browser of another admin who views the staff listing, potentially leading to session hijacking or defacement. Publicly available exploit code exists, but no active exploitation has been confirmed.
Earlier versions of this analysis (1)
RemediationAI
No vendor-released patch is available. As an immediate workaround, restrict access to the admin panel to trusted personnel only. Apply input validation and output encoding to the Staff Name field within edit-staff.php-for example, using htmlspecialchars() or equivalent PHP sanitization-to neutralize script injection. Temporarily disabling the /panel/edit-staff.php page will eliminate the vector but disrupt staff record editing. Monitor VulDB (https://vuldb.com/?id.315054) and NVD (https://nvd.nist.gov/vuln/detail/CVE-2025-7140) for an official fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the PHP-based web application's admin panel, specifically in /panel/edit-staff.php. The Staff Name parameter is not sanitized before being output on the staff listing page, resulting in a cross-site scripting flaw (CWE-79). The affected product is Best Salon Management System 1.0, identified by CPE cpe:2.3:a:mayurik:best_salon_management_system:1.0, a niche salon management tool from SourceCodester.
Know when Best Salon 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
Admin privileges required; user must view malicious page; only low integrity impact without confidentiality or availability loss.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability classified as problematic has been found in SourceCodester Best Salon Management System 1.0. Affected is an unknown function of the file /panel/edit-staff.php of the component Update Staff Page. The manipulation of the argument Staff Name leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
CVE-2025-7140 is a low-severity vulnerability in A vulnerability classified as problematic involving cross-site scripting (CVSS 2.4). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.
Apply vendor patch during routine maintenance. Standard cross-site scripting mitigations apply if patching is delayed.
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.
More in Best Salon Management System
View allCVE-2025-6580 is a critical SQL injection vulnerability in SourceCodester Best Salon Management System 1.0 affecting the
SQL injection in SourceCodester Best Salon Management System 1.0 exposes unauthenticated remote attackers to database ma
SQL injection in Best Salon Management System 1.0 allows remote attackers to manipulate the serv_id parameter in /bookin
SQL injection in SourceCodester Best Salon Management System 1.0 allows unauthenticated remote attackers to manipulate t
SQL injection in SourceCodester Best Salon Management System 1.0 allows remote attackers to compromise the application d
SQL injection in SourceCodester Best Salon Management System 1.0 allows remote attackers with low privileges to manipula
SQL injection in Best Salon Management System 1.0 allows remote authenticated attackers to manipulate database queries v
Limited SQL injection in SourceCodester Best Salon Management System 1.0 allows authenticated remote attackers to manipu
SQL injection in Best Salon Management System 1.0 via the user_id/plan_id parameters of /panel/add_subscribe.php allows
SQL injection in Best Salon Management System 1.0 via the /panel/pro_s
SQL injection in SourceCodester Best Salon Management System 1.0 allows authenticated low-privilege users to execute arb
SQL injection in Best Salon Management System 1.0 allows authenticated remote attackers to inject malicious SQL via the
EUVD-2025-20314
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB