{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.0.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8410e4c144d72b476cd530c5bb8d4e5db2f0a255"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "In OpenEMR 5.0.1 and earlier, controller.php contains a reflected XSS vulnerability in the foreign_id parameter. This could allow an attacker to execute arbitrary code in the context of a user's session.",
  "id": "CVE-2019-3966",
  "modified": "2026-07-08T05:37:12.002310807Z",
  "published": "2019-08-20T18:15:11.970Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://www.tenable.com/security/research/tra-2019-40"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}