CVE-2024-46238 Cross-site scripting in n/a

Medium 5.9 Published Updated

Attackers can inject malicious scripts via the docname parameter in admin pages, potentially leading to session hijacking or code execution.

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-2024-46238?

CVE-2024-46238 is a medium-severity cross-site scripting vulnerability in Phpgurukul Hospital Management System, published on 21 Oct 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Multiple Cross Site Scripting (XSS) vulnerabilities exist in PHPGurukul Hospital Management System 4.0 via the docname parameter in /admin/add-doctor.php and /admin/edit-doctor.php

Weakness: CWE-79

Which versions are affected by CVE-2024-46238?

It affects 1 product.

Products include Phpgurukul Hospital Management System.

How do I fix CVE-2024-46238?

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

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

All Phpgurukul Hospital Management System vulnerabilities

Sources

Also known as GHSA-23wv-w3v2-hcrj.

Is CVE-2024-46238 in your software?

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

Check your SBOMs for free