{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "815997021a5df4feb7077a12f6f52769e9bd3459"
            }
          ],
          "repo": "https://github.com/glpi-project/glpi",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9hg4-fpwv-gx78"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24868.json"
  },
  "details": "GLPI is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. In versions prior to 10.0.0 one can exploit a lack of sanitization on SVG file uploads and inject javascript into their user avatar. As a result any user viewing the avatar will be subject to a cross site scripting attack. Users of GLPI are advised to upgrade. Users unable to upgrade should disallow SVG avatars.",
  "id": "CVE-2022-24868",
  "modified": "2026-04-01T23:08:18.551465489Z",
  "published": "2022-04-21T16:55:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24868.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/glpi-project/glpi/security/advisories/GHSA-9hg4-fpwv-gx78"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24868"
    },
    {
      "type": "FIX",
      "url": "https://github.com/glpi-project/glpi/commit/1aa9fcc4741a46fa5a9f11d71b409b911ffc190f"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross site scripting via SVG file upload in GLPI"
}