CVE-2022-2020 SourceCodester Prison Management System System Name cross site scripting
Remote attackers can execute arbitrary JavaScript in the admin panel via the System Name field, potentially compromising administrative sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-2020?
CVE-2022-2020 is a low-severity cross-site scripting vulnerability in SourceCodester Prison Management System, published on 7 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A vulnerability, which was classified as problematic, has been found in SourceCodester Prison Management System 1.0. Affected by this issue is some unknown functionality of the file /admin/?page=system_info of the component System Name Handler. The manipulation with the input <img src="" onerror="alert(1)"> 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-2022-2020?
It affects 1 product.
Products include Prison Management System Project Prison Management System.
How do I fix CVE-2022-2020?
No fix has been published for CVE-2022-2020 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-2020 being exploited?
There is no known exploitation of CVE-2022-2020 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Prison Management System
Sources
Also known as GHSA-4h2c-4rfp-272p.