CVE-2023-22972
OpenEMR vulnerability analysis and mitigation

Overview

A Reflected Cross-site scripting (XSS) vulnerability was discovered in OpenEMR versions prior to 7.0.0, specifically affecting the interface/forms/eye_mag/php/eye_mag_functions.php file. The vulnerability was assigned identifier CVE-2023-22972 and was disclosed on February 22, 2023. This security flaw affects the OpenEMR electronic health records management system (NVD, CVE).

Technical details

The vulnerability allows remote authenticated users to inject arbitrary web script or HTML via the REQUEST_URI parameter. The severity of this vulnerability has been assessed with a CVSS v3.1 Base Score of 5.4 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The vulnerability has been classified under CWE-79, which refers to Improper Neutralization of Input During Web Page Generation (NVD).

Impact

When exploited, this vulnerability could allow authenticated attackers to inject malicious web scripts or HTML code into the application. This could potentially lead to the execution of unauthorized scripts in users' browsers, potentially compromising sensitive information or performing actions on behalf of other users (NVD).

Mitigation and workarounds

The vulnerability has been fixed in OpenEMR version 7.0.0. Users are advised to upgrade to this version or later to protect against this security flaw. The fix was included in the 7.0.0 Patch released on November 30, 2022 (OpenEMR Patches).

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