GHSA-HHWW-MRG2-969H
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.85.0 | litellm · -163 d desde divulgación | |
| Divulgación | Publicada | GHSA-HHWW-MRG2-969H divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
LiteLLM, an open-source LLM proxy server, is affected by a cross-site scripting flaw in its SSO debug callback endpoint. An attacker who controls an account on the configured identity provider could trick a logged-in administrator into opening a crafted link, running malicious scripts that could steal session cookies and take over the admin account.
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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypilitellm |
Corregida | 1.85.0 | -163 d | 1.109.1 no afectada |
1.85.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969hhttps://github.com/BerriAI/litellm/pull/27498https://github.com/BerriAI/litellm/commit/13a193367f0ae2e7e8b29913e0d23a32d3bb0457https://github.com/BerriAI/litellmhttps://github.com/BerriAI/litellm/releases/tag/v1.85.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
