CVE-2022-42206 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can inject malicious scripts into patient and medical history views, potentially stealing data or hijacking sessions in the Hospital Management System.

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-42206?

CVE-2022-42206 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 doctor/view-patient.php, admin/view-patient.php, and view-medhistory.php.

Weakness: CWE-79

Which versions are affected by CVE-2022-42206?

It affects 1 product.

Products include Phpgurukul Hospital Management System.

How do I fix CVE-2022-42206?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-42206 exists.

All Phpgurukul Hospital Management System vulnerabilities

Sources

Also known as GHSA-mm29-jc8v-gx7f.

Is CVE-2022-42206 in your software?

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

Check your SBOMs for free