---
schema_version: '1.0'
id: security-20261028-e34420
title: 'GHSA-hhww-mrg2-969h: LiteLLM vulnerable to reflected XSS in /sso/debug/callback'
url: https://osv.dev/vulnerability/GHSA-hhww-mrg2-969h
url_hash: e34420fff66b31ade18ecc3925756f87797c7e1e47b246ca25483fd02b4e72e4
canonical_url: https://osv.dev/vulnerability/GHSA-hhww-mrg2-969h
source: osv:ghsa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- GHSA-hhww-mrg2-969h
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- litellm
- PyPI
lang: en
published_at: '2026-10-27T15:31:56Z'
fetched_at: '2026-10-28T12:20:30.889065Z'
updated_at: '2026-10-28T15:13:16Z'
status: published
content_hash: b2553979147e5b686cbdac32293749fc4dbc84b869a1eee4d99f6a03fcfdd340
content_changed_at: null
license_note: full
summary: LiteLLM vulnerable to reflected XSS in /sso/debug/callback
summary_source: rss
summary_en: LiteLLM vulnerable to reflected XSS in /sso/debug/callback
summary_omitted_reason: null
redistribution: true
keywords_en:
- callback
- cve
- debug
- Ericsson
- GHSA-hhww-mrg2-969h
- library vulnerability
- litellm
- PyPI
- PyPIのBrotliパッケージ
- reflected
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Shay McVeigh
- software security
- sso
- vulnerable
- XSS
entities_en:
- name: Ericsson
  type: organization
- name: PyPIのBrotliパッケージ
  type: organization
- name: Shay McVeigh
  type: person
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: Shay McVeigh
  type: person
- name: PyPIのBrotliパッケージ
  type: organization
- name: Ericsson
  type: organization
key_facts: []
related: []
related_auto:
- name: Yahoo Finance
  type: organization
  weight: 2.0
- name: Singtel
  type: organization
  weight: 1.0
computed_at: '2026-10-28T15:13:07Z'
---

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

## TL;DR
LiteLLM vulnerable to reflected XSS in /sso/debug/callback

## Key Points
- cve / GHSA-hhww-mrg2-969h / severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N / litellm / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
**Advisory:** GHSA-hhww-mrg2-969h

**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.

**References:**
- https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h
- https://github.com/BerriAI/litellm/pull/27498
- https://github.com/BerriAI/litellm/commit/13a193367f0ae2e7e8b29913e0d23a32d3bb0457
- https://github.com/BerriAI/litellm
- https://github.com/BerriAI/litellm/releases/tag/v1.85.0

_Data: OSV.dev (upstream: ghsa) — https://osv.dev/vulnerability/GHSA-hhww-mrg2-969h_

## Source
元記事: [GHSA-hhww-mrg2-969h: LiteLLM vulnerable to reflected XSS in /sso/debug/callback](https://osv.dev/vulnerability/GHSA-hhww-mrg2-969h) — published 2026-10-27T15:31:56Z
