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

Medium 4.2 Published Updated

An attacker can inject malicious scripts via the Email parameter in the doctor index page, potentially compromising user sessions or executing code.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-56997?

CVE-2024-56997 is a medium-severity cross-site scripting vulnerability in Phpgurukul Hospital Management System, published on 21 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

PHPGurukul Hospital Management System 4.0 is vulnerable to Cross Site Scripting (XSS) in /doctor/index.php via the 'Email' parameter.

Weakness: CWE-79

Which versions are affected by CVE-2024-56997?

It affects 1 product.

Products include Phpgurukul Hospital Management System.

How do I fix CVE-2024-56997?

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

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

All Phpgurukul Hospital Management System vulnerabilities

Sources

Also known as GHSA-qwp3-qccp-m6pg.

Is CVE-2024-56997 in your software?

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

Check your SBOMs for free