CVE-2024-4512 SourceCodester Prison Management System edit-profile.php cross site scripting

Low 3.5 Published Updated

Remote attackers can inject malicious scripts via profile fields in the Prison Management System, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-4512?

CVE-2024-4512 is a low-severity cross-site scripting vulnerability in SourceCodester Prison Management System, published on 6 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability classified as problematic was found in SourceCodester Prison Management System 1.0. This vulnerability affects unknown code of the file /Employee/edit-profile.php. The manipulation of the argument txtfullname/txtdob/txtaddress/txtqualification/cmddept/cmdemployeetype/txtappointment leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-263116.

Weakness: CWE-79

Which versions are affected by CVE-2024-4512?

It affects 1 product.

Products include Fast5 Prison Management System.

How do I fix CVE-2024-4512?

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

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

Sources

Also known as GHSA-496x-pq3h-gfff.

Is CVE-2024-4512 in your software?

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

Check your SBOMs for free