{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ec86e543a6342c993bf2fcde66de5d3df8b2ba8a"
            }
          ],
          "repo": "https://github.com/librehealthio/lh-ehr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameter payment_id in interface\\billing\\new_payment.php via interface\\billing\\payment_master.inc.php leads to SQL injection.",
  "id": "CVE-2022-29938",
  "modified": "2026-04-01T23:08:13.722477463Z",
  "published": "2022-05-05T12:15:07.790Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://gitlab.com/librehealth/ehr/lh-ehr/-/tags"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreHealthIO/lh-ehr/tags"
    },
    {
      "type": "EVIDENCE",
      "url": "https://nitroteam.kz/index.php?action=researches\u0026slug=librehealth_r"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}