CVE-2025-7140 SourceCodester Best Salon Management System Update Staff Page edit-staff.php cross site scripting

Medium 4.8 Published Updated

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.

Weakness: CWE-94, CWE-79

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.

Sources

Also known as GHSA-43pq-642w-q946.

Is CVE-2025-7140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free