Cyber Resilience

CVE-2023-2947

MediumPublic PoC

Published: 27 May 2023

Published
27 May 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.5248 98.0th percentile
Risk Priority 41 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-2947 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Open-Emr Openemr. Its CVSS base score is 4.8 (Medium).

Operationally, ranked in the top 2.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2023-2947 is a stored cross-site scripting vulnerability (CWE-79) affecting the OpenEMR electronic health records platform in the openemr/openemr repository prior to version 7.0.1. The flaw permits an attacker to persistently inject malicious script into application pages that are later rendered for other users, with a CVSS 3.1 base score of 4.8 reflecting network attack vector, low complexity, high privileges required, and changed scope.

An authenticated user holding high privileges can supply crafted input that is stored by the application and subsequently executed in the browsers of other users who view the affected content. Successful exploitation can result in limited confidentiality and integrity impacts such as session token theft or unauthorized actions performed in the context of the victim user, though availability is unaffected and user interaction is required.

Public references point to a specific commit (8d2d601) that addresses the issue and to the corresponding huntr.dev disclosure. The recommended mitigation is to upgrade OpenEMR to version 7.0.1 or later, which incorporates the corrective changes.

EPSS for the CVE has remained flat at its recorded peak of 0.5248 with no material post-disclosure rise.

EU & UK References

Vulnerability details

Cross-site Scripting (XSS) - Stored in GitHub repository openemr/openemr prior to 7.0.1.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

open-emr
openemr
≤ 7.0.1

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References