CVE-2023-22972 Cross-site scripting in n/a

Medium 5.4 Published Updated

Remote authenticated users can inject arbitrary web script or HTML via the REQUEST_URI in OpenEMR, potentially leading to session hijacking or malicious actions.

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

What is CVE-2023-22972?

CVE-2023-22972 is a medium-severity cross-site scripting vulnerability in Open-Emr Openemr, published on 22 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A Reflected Cross-site scripting (XSS) vulnerability in interface/forms/eye_mag/php/eye_mag_functions.php in OpenEMR < 7.0.0 allows remote authenticated users to inject arbitrary web script or HTML via the REQUEST_URI.

Weakness: CWE-79

Which versions are affected by CVE-2023-22972?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2023-22972?

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

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-fq74-5m7h-m7fv.

Is CVE-2023-22972 in your software?

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

Check your SBOMs for free