← Vulnerability feed

Vulnerability record · CVE-2019-8368 · published 16 September 2019

CVE-2019-8368: OpenEMR 5.0.1-6 cross-site scripting flaw

Open Emr · Openemr

OpenEMR v5.0.1-6 is affected by a cross-site scripting (XSS) vulnerability, per a third-party advisory that also covers remote code execution in the same release. The record gives no detail on the specific parameter or page involved, so the exact injection point is unknown from the supplied facts. Because OpenEMR handles clinical data, script execution in a victim's session can expose protected health information.

6.1 CVSS 3.1 Medium EPSS 46% · top 1.2% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

OpenEMR v5.0.1-6 allows XSS.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityAlthough CVSS is only 6.1, the EPSS score is near the top percentile and public exploit references exist, and the target is a clinical system holding sensitive data.

What it is

OpenEMR v5.0.1-6 is affected by a cross-site scripting (XSS) vulnerability, per a third-party advisory that also covers remote code execution in the same release. The record gives no detail on the specific parameter or page involved, so the exact injection point is unknown from the supplied facts. Because OpenEMR handles clinical data, script execution in a victim's session can expose protected health information.

Impact

An attacker can run script in the context of a logged-in OpenEMR user, enabling session theft, credential capture, or actions performed as that user. The CVSS scope change (S:C) means the impact can extend beyond the vulnerable component.

Attack surface

Network-reachable over HTTP/HTTPS with no privileges required (PR:N), but exploitation requires the victim to trigger the crafted request or page (UI:R). No authentication is needed to deliver the payload, though the target must be a user with an active session for meaningful impact.

Exploitation

Not listed in CISA KEV, but EPSS is 0.45881 (98.7th percentile), indicating high predicted exploitation activity. Both references are tagged Exploit and Third Party Advisory, so public exploit detail exists.

What to do

  • Upgrade OpenEMR to a release later than v5.0.1-6 that fixes the XSS issue.
  • If immediate upgrade is not possible, apply output encoding and input validation on all user-supplied parameters, and deploy a WAF rule set targeting reflected and stored XSS.
  • Enforce HttpOnly and Secure flags on session cookies to limit script-based session theft.
  • Restrict network exposure of the OpenEMR instance to trusted networks or place it behind a VPN.
  • Review the Bishop Fox advisory for the specific vulnerable endpoint and test it directly.

Detection

  • Search web and application logs for requests containing script tags or event-handler payloads (e.g., <script>, onerror=, onload=) targeting OpenEMR endpoints.
  • Monitor for anomalous authenticated sessions, including sudden IP or user-agent changes and requests to administrative functions.
  • Alert on outbound connections or page loads to unfamiliar external domains from OpenEMR clients, which may indicate script exfiltration.
  • Review OpenEMR audit logs for unexpected record access or configuration changes following suspicious page requests.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-8368 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-24898Open-emr openemr improper authentication vulnerabilityOpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0, an unauthenticated token dis…EPSS 0.56%9.8CVE-2024-22611Open-emr openemr sql injection vulnerabilityOpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.class.php and \openemr\controll…EPSS 6.3%9.8CVE-2024-37734Open-emr openemr vulnerabilityAn issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid parameter.EPSS 0.80%9.8CVE-2020-13567Open-emr openemr sql injection vulnerabilityMultiple SQL injection vulnerabilities exist in phpGACL 3.3.7. A specially crafted HTTP request can lead to a SQL injection. An attacker can send an …EPSS 2.3%9.8CVE-2019-17197Open-emr openemr sql injection vulnerabilityOpenEMR through 5.0.2 has SQL Injection in the Lifestyle demographic filter criteria in library/clinical_rules.php that affects library/patient.inc.EPSS 1.5%9.8CVE-2019-14529Open-emr openemr sql injection vulnerabilityOpenEMR before 5.0.2 allows SQL Injection in interface/forms/eye_mag/save.php.EPSS 28%9.8CVE-2018-17179Open-emr openemr sql injection vulnerabilityAn issue was discovered in OpenEMR before 5.0.1 Patch 7. There is SQL Injection in the make_task function in /interface/forms/eye_mag/php/taskman_fun…EPSS 13%9.8CVE-2018-17181Open-emr openemr sql injection vulnerabilityAn issue was discovered in OpenEMR before 5.0.1 Patch 7. SQL Injection exists in the SaveAudit function in /portal/lib/paylib.php and the portalAudit…EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2019-8368), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.