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

Medium 6.1 Published Updated

Reflected cross-site scripting in HMS v1.0 allows attackers to inject malicious scripts via treatmentrecord.php, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-25493?

CVE-2022-25493 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

HMS v1.0 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via treatmentrecord.php.

Weakness: CWE-79

Which versions are affected by CVE-2022-25493?

It affects 1 product.

Products include Hospital Management System Project Hospital Management System.

How do I fix CVE-2022-25493?

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

There is no known exploitation of CVE-2022-25493 in the wild and no public exploit code.

Sources

Also known as GHSA-gpcj-74jc-8hpg.

Is CVE-2022-25493 in your software?

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

Check your SBOMs for free