CVE-2024-56998 Cross-site scripting in n/a
An attacker can inject malicious scripts via the address parameter in the edit profile page, potentially stealing user data or hijacking sessions.
- 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-56998?
CVE-2024-56998 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 /edit-profile.php via the parameter $address.
Weakness: CWE-79
Which versions are affected by CVE-2024-56998?
It affects 1 product.
Products include Phpgurukul Hospital Management System.
How do I fix CVE-2024-56998?
No fix has been published for CVE-2024-56998 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-56998 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56998 exists.
Other vulnerabilities in Phpgurukul Hospital Management System
Sources
Also known as GHSA-2f47-g943-j472.