{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.65.5"
                  },
                  {
                    "fixed": "1.85.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "aed8d4ce216d9cf283b644e50536a6fd643f8ae2"
            },
            {
              "fixed": "e58a561caa21169fb02174148444c08509ce7028"
            }
          ],
          "repo": "https://github.com/berriai/litellm",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hhww-mrg2-969h"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145674.json"
  },
  "details": "BerriAI LiteLLM from 1.65.5 before 1.85.0 contains a reflected cross-site scripting vulnerability in the unauthenticated /sso/debug/callback endpoint, which reflects identity-provider fields into an inline script block via json.dumps without HTML escaping. Attackers with an IdP account can set a claim such as a display name containing \u003c/script\u003e, complete the SSO flow, and send the callback URL to a proxy admin to steal session cookies and take over the account.",
  "id": "CVE-2026-145674",
  "modified": "2026-12-06T01:45:31.556589339Z",
  "published": "2026-12-06T00:16:22.099Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145674.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145674"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/berriai-litellm-1.65.5-before-1.85.0-reflected-xss-via-sso-debug-callback"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "BerriAI LiteLLM 1.65.5 before 1.85.0 Reflected XSS via /sso/debug/callback"
}