CVE-2022-2731 Cross-site Scripting (XSS) - Reflected in openemr/openemr

Medium 5.4 Published Updated

Reflected Cross-Site Scripting in OpenEMR allows attackers to execute arbitrary scripts in victim browsers, potentially leading to session hijacking or data theft.

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-2022-2731?

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

Official description

Cross-site Scripting (XSS) - Reflected in GitHub repository openemr/openemr prior to 7.0.0.1.

Weakness: CWE-79

Which versions are affected by CVE-2022-2731?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2022-2731?

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

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-wv2j-j29v-4252.

Is CVE-2022-2731 in your software?

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

Check your SBOMs for free