Skip to content
MediumVulnerability

GHSA-hhww-mrg2-969h: LiteLLM vulnerable to reflected XSS in /sso/debug/callback

Published
Record updated
View JSON
Affected
  • litellm >= 1.65.5, < 1.85.0
Fixed in
1.85.0

Summary

LiteLLM's proxy endpoint /sso/debug/callback reflected identity-provider-controlled fields into an inline script block using json.dumps, which does not escape HTML context characters such as </script>. An IdP string containing </script> could run attacker JavaScript in the proxy origin. The route needs no authentication, so an attacker with an account on the configured IdP could lure a logged-in proxy admin into opening the callback URL, enabling session cookie theft and potentially full admin account takeover.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.