{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "6.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4c3f9f5917d765f944cdbf3b9df15375476b3711"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OpenEMR 6.0.0 has a pnotes_print.php?noteid= Insecure Direct Object Reference vulnerability via which an attacker can read the messages of all users.",
  "id": "CVE-2021-40352",
  "modified": "2026-04-01T23:10:25.765429514Z",
  "published": "2021-09-01T13:15:08.600Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.open-emr.org/wiki/index.php/Securing_OpenEMR"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/164011/OpenEMR-6.0.0-Insecure-Direct-Object-Reference.html"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/allenenosh/CVE-2021-40352"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}