{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.0.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "a438d034088620bcc1dd3856a3d5c32d1cb17dcc"
            },
            {
              "fixed": "728f4bdd4f8c729944c5544589f81374cec7c4f4"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Reflected XSS in interface/forms/eye_mag/view.php in OpenEMR 5.x before 5.0.2.1 allows a remote attacker to execute arbitrary code in the context of a user's session via the pid parameter.",
  "id": "CVE-2019-16862",
  "modified": "2026-04-01T23:08:26.777698828Z",
  "published": "2019-10-21T01:15:10.457Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/lodestone-security/CVEs/blob/master/CVE-2019-16862/README.md"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/pull/2685"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}