CVE-2026-9564 SourceCodester/oretnom23 Hospitals Patient Records Management System view_patient cross site scripting

Medium 4.8 Published Updated

Attackers can inject malicious scripts via the Remarks field in the patient view page, potentially compromising user sessions and data.

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-2026-9564?

CVE-2026-9564 is a medium-severity cross-site scripting vulnerability in SourceCodester Hospitals Patient Records Management System, published on 26 May 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in SourceCodester/oretnom23 Hospitals Patient Records Management System 1.0. The impacted element is an unknown function of the file /admin/?page=patients/view_patient. Performing a manipulation of the argument Remarks results in cross site scripting. Remote exploitation of the attack is possible. The exploit has been made public and could be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2026-9564?

How do I fix CVE-2026-9564?

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

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

Sources

Also known as GHSA-hjcg-j78j-2g64.

Is CVE-2026-9564 in your software?

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

Check your SBOMs for free