CVE-2025-7140 SourceCodester Best Salon Management System Update Staff Page edit-staff.php cross site scripting
Attacker can inject malicious scripts via the Staff Name field in the Update Staff page, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-7140?
CVE-2025-7140 is a medium-severity cross-site scripting vulnerability in SourceCodester Best Salon Management System, published on 7 Jul 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2025-7140?
It affects 1 product.
Products include Mayurik Best Salon Management System.
How do I fix CVE-2025-7140?
No fix has been published for CVE-2025-7140 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-7140 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7140 exists.
Other vulnerabilities in SourceCodester Best Salon Management System
- CVE-2025-12325 SourceCodester Best Salon Management System forgot-password.php sql injection
- CVE-2025-11662 SourceCodester Best Salon Management System booking.php sql injection
- CVE-2025-11614 SourceCodester Best Salon Management System edit-appointment.php sql injection
- CVE-2025-11615 SourceCodester Best Salon Management System add_invoice.php sql injection
- CVE-2025-6580 SourceCodester Best Salon Management System Login sql injection
Sources
Also known as GHSA-43pq-642w-q946.