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

Medium 4.6 Published Updated

Attackers can execute arbitrary scripts via XSS in the Medical Card Generation System's aboutus page, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-51106?

CVE-2024-51106 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting (XSS) vulnerability in the component mcgs/admin/aboutus.php of PHPGURUKUL Medical Card Generation System using PHP and MySQL v1.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the pagetitle parameter.

Weakness: CWE-79

Which versions are affected by CVE-2024-51106?

It affects 1 product.

Products include Anujk305 Medical Card Generation System.

How do I fix CVE-2024-51106?

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

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

Sources

Also known as GHSA-vgrj-mg42-7vqg.

Is CVE-2024-51106 in your software?

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

Check your SBOMs for free