CVE-2021-40374 Cross-site scripting in n/a

Medium 5.4 Published Updated

Remote attackers can inject arbitrary scripts via patient address fields in OpenEyes, leading to script execution when profiles are viewed.

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-2021-40374?

CVE-2021-40374 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Apr 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

A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.

Weakness: CWE-79

Which versions are affected by CVE-2021-40374?

It affects 1 product.

Products include Apperta Openeye.

How do I fix CVE-2021-40374?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-6f7g-fvmv-x9vc.

Is CVE-2021-40374 in your software?

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

Check your SBOMs for free