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

Not scored Published
Exploited in the wild
Not known
Fix
Available

What is GHSA-hhww-mrg2-969h?

GHSA-hhww-mrg2-969h is a vulnerability in litellm, published on 27 Oct 2026.

Official description

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.

Which versions are affected by GHSA-hhww-mrg2-969h?

2 open source packages ship an affected version, including litellm.

PackageAffectedFixed in
litellm PyPIFrom 1.65.51.85.0
litellm PyPIFrom 1.65.51.85.0

How do I fix GHSA-hhww-mrg2-969h?

Upgrade litellm to 1.85.0 or later.

Is GHSA-hhww-mrg2-969h being exploited?

There is no known exploitation of GHSA-hhww-mrg2-969h in the wild and no public exploit code.

Sources

Is GHSA-hhww-mrg2-969h in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free