CVE-2022-2579 SourceCodester Garage Management System createUser.php cross site scripting
Remote attackers can execute arbitrary scripts via the userName parameter in createUser.php, 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-2579?
CVE-2022-2579 is a low-severity cross-site scripting vulnerability in SourceCodester Garage Management System, published on 29 Jul 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, which was classified as problematic, was found in SourceCodester Garage Management System 1.0. Affected is an unknown function of the file /php_action/createUser.php. The manipulation of the argument userName with the input lala<img src="" onerror=alert(1)> leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-79
Which versions are affected by CVE-2022-2579?
It affects 1 product.
Products include Garage Management System Project Garage Management System.
How do I fix CVE-2022-2579?
No fix has been published for CVE-2022-2579 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-2579 being exploited?
There is no known exploitation of CVE-2022-2579 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Garage Management System
Sources
Also known as GHSA-xmfx-8h75-67pc.