GHSA-hhww-mrg2-969h

    Dashboard / Vulnerabilities / GHSA-hhww-mrg2-969h

    GHSA-hhww-mrg2-969h

    Published: 27 Oct 2026Last Modified: 27 Oct 2026

    Summary: LiteLLM vulnerable to reflected XSS in /sso/debug/callback

    Details: ### Summary The `/sso/debug/callback` endpoint reflected identity-provider-controlled fields into an inline `<script>` block via `json.dumps`, which escapes JSON string syntax but not HTML context characters such as `</script>`. An IdP-returned string field containing `</script>` (for example a user-editable display name) closed the script block and executed attacker JavaScript in the proxy's origin. ### Impact Reflected XSS on the LiteLLM proxy origin. The route required no authentication, so an attacker with an account on the configured IdP whose claims pass such strings through verbatim could complete the SSO flow themselves and deliver the resulting callback URL to a logged-in proxy admin. Scripts executing in the proxy origin can read the dashboard session cookie and act with the victim's privileges, up to full admin account takeover.

    Affected packages

    Package

    Name: litellm

    Purl: pkg:pypi/litellm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.65.5
    Fixed -1.85.0

    Affected versions

    1.65.5
    1.65.6
    1.65.7
    1.65.8

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-hhww-mrg2-969h | CVE-DB