CVE-2024-8562 SourceCodester PHP CRUD Add.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via name fields in the Add.php endpoint, potentially compromising user sessions.

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-8562?

CVE-2024-8562 is a medium-severity cross-site scripting vulnerability in SourceCodester PHP CRUD, published on 7 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester PHP CRUD 1.0 and classified as problematic. Affected by this issue is some unknown functionality of the file /endpoint/Add.php. The manipulation of the argument first_name/middle_name/last_name leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2024-8562?

It affects 1 product.

Products include Rems Php Crud.

How do I fix CVE-2024-8562?

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

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

Sources

Also known as GHSA-jxpp-qw6j-h3gv.

Is CVE-2024-8562 in your software?

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

Check your SBOMs for free