CVE-2022-2494
Published: 22 July 2022
Summary
CVE-2022-2494 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Open-Emr Openemr. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 4.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The vulnerability CVE-2022-2494 is a stored cross-site scripting flaw (CWE-79) present in the OpenEMR open-source electronic health records application in GitHub repository versions prior to 7.0.0. It received a CVSS 3.1 score of 5.4, reflecting network attack vector, low attack complexity, and required low-privileged credentials combined with user interaction.
An authenticated user can supply crafted input that is persisted by the application and later rendered for other users, enabling execution of attacker-controlled scripts within the victim's session context and resulting in limited disclosure or modification of data across security boundaries.
References to the issue include a public huntr.dev bounty entry and the corrective commit 152e551208e6de534ab194c87e9ffa4d56d294a8, which implement input sanitization and output encoding changes; practitioners are therefore advised to upgrade to OpenEMR 7.0.0 or later.
The associated EPSS score has remained stable at 0.1787 with no material post-disclosure increase observed.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-34753
Vulnerability details
Cross-site Scripting (XSS) - Stored in GitHub repository openemr/openemr prior to 7.0.0.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.