CVE-2022-2213 SourceCodester Library Management System cross site scripting

Low 3.5 Published Updated

Remote attackers can inject malicious scripts via the Name parameter in the admin details page, potentially compromising user sessions.

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-2022-2213?

CVE-2022-2213 is a low-severity cross-site scripting vulnerability in SourceCodester Library Management System, published on 27 Jun 2022. 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 was found in SourceCodester Library Management System 1.0. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /admin/edit_admin_details.php?id=admin. The manipulation of the argument Name leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-79

Which versions are affected by CVE-2022-2213?

It affects 1 product.

Products include Library Management System Project Library Management System.

How do I fix CVE-2022-2213?

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

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

Sources

Also known as GHSA-5mr3-h9f3-xvfm.

Is CVE-2022-2213 in your software?

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

Check your SBOMs for free