CVE-2024-7942 SourceCodester Leads Manager Tool update-leads.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the phone_number field in update-leads.php, potentially compromising user sessions or executing code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7942?

CVE-2024-7942 is a medium-severity cross-site scripting vulnerability in SourceCodester Leads Manager Tool, published on 20 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in SourceCodester Leads Manager Tool 1.0 and classified as problematic. This vulnerability affects unknown code of the file update-leads.php. The manipulation of the argument phone_number leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-7942?

It affects 1 product.

Products include Rems Leads Manager Tool.

How do I fix CVE-2024-7942?

No fix has been published for CVE-2024-7942 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-2024-7942 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7942 exists.

Sources

Also known as GHSA-hcrj-792g-qmqw.

Is CVE-2024-7942 in your software?

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

Check your SBOMs for free