S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2023-2948 Scanner

CVE-2023-2948 Scanner - Cross-Site Scripting (XSS) vulnerability in OpenEMR

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.3k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-2948
6.1
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.

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

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
openemr/openemrby openemr
AFFECTED< 7.0.1SAFE ✓≥ 7.0.1
Updated Aug 22, 2026View on NVD →
Detail

OpenEMR is widely used by healthcare organizations worldwide to manage electronic medical records ensuring efficient patient care management. It is utilized by hospitals, individual practitioners, and clinics to streamline workflows, deliver better patient care, and maintain comprehensive patient records. With features supporting billing, practice management, and patient scheduling, OpenEMR is designed to facilitate all aspects of clinical operations. Healthcare professionals depend on its functionalities to provide timely and secure information access. It enables seamless integration with other health systems and fosters improved patient-doctor communication.

Cross-Site Scripting (XSS) is a prevalent web vulnerability that allows attackers to inject scripts into web pages viewed by users, potentially stealing cookies, session tokens, or other sensitive information. The specific XSS vulnerability in OpenEMR before version 7.0.1 arises from improper input validation, allowing scripts to be executed in the context of the affected site. Being a reflected XSS, this vulnerability can be triggered when a user clicks on a specially crafted link. If exploited, it could lead to unauthorized actions being performed on behalf of a logged-in user. Administrators are urged to patch and prevent unauthorized data access.

The technical manifestation of this XSS vulnerability lies in the flawed sanitization process in one of OpenEMR's PHP scripts. The endpoint `/library/custom_template/share_template.php` does not correctly validate or escape user input, specifically through the `list_id` parameter. This shortfall allows an attacker to embed a harmful script which, when the hyperlink is clicked, will execute in the victim's browser context. The lack of robust content security policies exacerbates the issue, leaving OpenEMR instance susceptible to exploitation of user trust. This vulnerability highlights the critical need for stringent input validation on all user-accessible endpoints.

Exploitation of the identified XSS vulnerability in OpenEMR could result in numerous adverse outcomes. Attackers may execute scripts that steal user session information, manipulate webpage displays, or perform other actions mimicking a user's credentials. Sensitive data can be compromised, resulting in a breach of patient privacy and potential loss of data integrity. In healthcare settings, this can undermine trust and potentially lead to regulatory non-compliance, penalties, or lawsuits. Strong cybersecurity measures and prompt patching can mitigate such severe impacts.

REFERENCES

Solution Advice
  • Update OpenEMR to version 7.0.1 or later to patch the Reflected XSS vulnerability.
  • Implement strict input validation and output encoding to safeguard against script injection.
  • Review and enhance Content Security Policies (CSP) to prevent unauthorized script execution.
  • Conduct regular security audits and vulnerability assessments of your web applications.
  • Educate and train staff on recognizing and handling potential phishing and XSS threats.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2023-2948 Scanner - Cross-Site Scripting (XSS) vulnerability in OpenEMR | S4E