CVE-2024-8366 code-projects Pharmacy Management System Update My Profile Page index.php cross site scripting

Medium 6.9 Published Updated

An attacker can inject malicious scripts into the profile update page, potentially stealing user data or hijacking sessions in the Pharmacy Management System.

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

What is CVE-2024-8366?

CVE-2024-8366 is a medium-severity cross-site scripting vulnerability in code-projects Pharmacy Management System, published on 31 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in code-projects Pharmacy Management System 1.0. It has been classified as problematic. This affects an unknown part of the file /index.php?id=userProfileEdit of the component Update My Profile Page. The manipulation of the argument fname/lname/email with the input <script>alert(1)</script> leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-8366?

It affects 1 product.

Products include Code-Projects Pharmacy Management System.

How do I fix CVE-2024-8366?

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

There is no known exploitation of CVE-2024-8366 in the wild and no public exploit code.

Sources

Also known as GHSA-8xww-2gcw-hq2q.

Is CVE-2024-8366 in your software?

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

Check your SBOMs for free