{
  "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": "Cross Site scripting (XSS) vulnerability inLibreHealth EHR Base 2.0.0 via interface/usergroup/usergroup_admin_add.php Username.",
  "id": "CVE-2022-31492",
  "modified": "2026-03-15T13:49:36.299841249Z",
  "published": "2022-06-06T20:15:07.983Z",
  "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=librehealth2_r"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}