Vulnerability GHSA-hhww-mrg2-969h

Medium Risk
MEDIUM RISK
CVSS Score: 6.8
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
3 days ago
October 27, 2026 at 03:31 PM UTC
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
1.65.5 - 1.85.0rc2
1.65.5 - 1.85.0rc2

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.

Impacted packages

Timeline

Published
3 days ago
October 27, 2026 at 03:31 PM UTC
Fixed (1.85.0)
5 months ago
May 17, 2026 at 01:59 AM UTC
Last Modified
3 days ago
October 27, 2026 at 03:47 PM UTC