cbcvebase.
CVE-2019-3964
published 2019-08-20

CVE-2019-3964: In OpenEMR 5.0.1 and earlier, controller.php contains a reflected XSS vulnerability in the doc_id parameter. This could allow an attacker to execute arbitrary…

PriorityP341medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
53.53%
98.9th percentile
In OpenEMR 5.0.1 and earlier, controller.php contains a reflected XSS vulnerability in the doc_id parameter. This could allow an attacker to execute arbitrary code in the context of a user's session.

Affected

2 ranges
VendorProductVersion rangeFixed in
open-emropenemr<= 5.0.1
open-emropenemr

Detection & IOCsextracted from sources · hover to see the quote

urlhttp:///controller.php?document&view&patient_id=0&doc_id=0">alert("XSS")
path/controller.php
  • Monitor HTTP requests to controller.php containing the doc_id parameter with injected HTML/JavaScript payloads (e.g., quote characters followed by script tags or alert calls).
  • Look for GET requests to /controller.php with query parameters including 'document', 'view', 'patient_id', and a doc_id value containing HTML injection characters such as '">' or '<script'.
  • ·The vulnerability affects OpenEMR 5.0.1 and earlier; ensure version scope is confirmed before applying detection rules to avoid false positives on patched instances.

CVSS provenance

nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.