BigBadAI

GHSA-hhww-mrg2-969h

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

Published Oct 27, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.

The facts

Advisory idGHSA-hhww-mrg2-969h
Package
litellm PyPI: litellm
PublishedOct 27, 2026
Source severityMODERATE
Our severitymedium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules
FixFixed in 1.85.0
SourceGitHub Advisory Database (via OSV.dev)

Summary AI summary

Open-source package litellm has a reflected XSS vulnerability in /sso/debug/callback, affecting users of LiteLLM proxy.

Excerpt from the source

Copied from the official record, trimmed. Read the full source before acting.

### 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 cou

Open the full source →

What to do

Update litellm to version 1.85.0 or later to mitigate the vulnerability.

Other recent advisories for this package

  • GHSA-g5ff-637f-6q2m · Oct 27, 2026 · LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
  • GHSA-7hp6-4w63-5g45 · Oct 27, 2026 · LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
  • PYSEC-2026-4076 · Oct 1, 2026 · BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens
  • PYSEC-2026-4069 · Oct 1, 2026 · BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader
  • PYSEC-2026-4072 · Oct 1, 2026 · BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure
  • PYSEC-2026-4074 · Oct 1, 2026 · BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints
  • PYSEC-2026-4071 · Oct 1, 2026 · LiteLLM: SSO Debug Flow Has Improper Authentication
  • PYSEC-2026-4067 · Oct 1, 2026 · LiteLLM: MCP Proxy Has Improper Authentication

All advisories →

This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .