{
  "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 parameters formseq and formid in interface\\orders\\find_order_popup.php leads to multiple cross-site scripting (XSS) vulnerabilities.",
  "id": "CVE-2022-29940",
  "modified": "2026-03-13T21:58:47.248388707Z",
  "published": "2022-05-05T12:15:07.877Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreHealthIO/lh-ehr/tags"
    },
    {
      "type": "ADVISORY",
      "url": "https://gitlab.com/librehealth/ehr/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:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}