CVE-2022-2645 SourceCodester Garage Management System edituser.php cross site scripting
Remote attackers can inject malicious scripts via the id parameter in edituser.php, 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-2022-2645?
CVE-2022-2645 is a low-severity cross-site scripting vulnerability in SourceCodester Garage Management System, published on 4 Aug 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 has been found in SourceCodester Garage Management System and classified as problematic. Affected by this vulnerability is an unknown functionality of the file edituser.php. The manipulation of the argument id with the input 1\"><ScRiPt>alert(1)</sCrIpT> leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-205573 was assigned to this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2022-2645?
It affects 1 product.
Products include Garage Management System Project Garage Management System.
How do I fix CVE-2022-2645?
No fix has been published for CVE-2022-2645 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-2645 being exploited?
There is no known exploitation of CVE-2022-2645 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Garage Management System
Sources
Also known as GHSA-pq97-mf94-9w5p.