CVE-2022-2494
OpenEMR vulnerability analysis and mitigation

Overview

A Stored Cross-site Scripting (XSS) vulnerability was identified in GitHub repository openemr/openemr versions prior to 7.0.0. The vulnerability was discovered and reported on July 20, 2022, and was assigned the identifier CVE-2022-2494 (CVE Mitre).

Technical details

The vulnerability was found in the patient data handling functionality of OpenEMR. The issue specifically existed in the file 'portal/patient/scripts/app/patientdata.js' where user input was not properly escaped before being rendered in the HTML content (GitHub Commit).

Impact

This stored XSS vulnerability could potentially allow attackers to inject malicious scripts that would be executed in the context of other users' browsers when viewing affected pages in the OpenEMR system.

Mitigation and workarounds

The vulnerability was patched in OpenEMR version 7.0.0. Users are advised to upgrade to this version or later to protect against this security issue. The fix implements proper escaping of user input using the _.escape() function (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related OpenEMR vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-22611CRITICAL9.8
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesApr 03, 2025
CVE-2013-10044HIGH8.7
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesAug 01, 2025
CVE-2025-43860HIGH7.6
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025
CVE-2025-32794HIGH7.6
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025
CVE-2025-32967MEDIUM5.4
  • OpenEMROpenEMR
  • cpe:2.3:a:open-emr:openemr
NoYesMay 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management