CVE-2022-42205 Cross-site scripting in n/a
An attacker can inject malicious scripts via the add-patient page in the Hospital Management System, 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-42205?
CVE-2022-42205 is a medium-severity cross-site scripting vulnerability in Phpgurukul Hospital Management System, published on 21 Oct 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
PHPGurukul Hospital Management System In PHP V 4.0 is vulnerable to Cross Site Scripting (XSS) via add-patient.php.
Weakness: CWE-79
Which versions are affected by CVE-2022-42205?
It affects 1 product.
Products include Phpgurukul Hospital Management System.
How do I fix CVE-2022-42205?
No fix has been published for CVE-2022-42205 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-42205 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-42205 exists.
Other vulnerabilities in Phpgurukul Hospital Management System
Sources
Also known as GHSA-qfwf-5hgc-r5j2.