{"schema":"threatline.record/2","record":{"id":"GHSA-hhww-mrg2-969h","aliases":["GHSA-hhww-mrg2-969h"],"summary":"Reflected XSS in /sso/debug/callback","details":"### Summary\r\n\r\nThe `/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.\r\n\r\n### Impact\r\n\r\nReflected 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.\r\n\r\n\r\n","categories":["Unclassified"],"product":"litellm","vendor":"","ecosystem":null,"affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h","source_modified_at":"2026-09-30T12:49:29Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"litellm"},"range":">= 1.65.5, < 1.85.0"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h","source_modified_at":"2026-09-30T12:49:29Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"litellm"},"version":"1.85.0"}],"cvss":6.8,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-09-30T12:49:29Z","modified_at":"2026-09-30T12:49:29Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hhww-mrg2-969h","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-30T12:49:29Z"}],"sources":["GitHub Advisory Database"],"references":[],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-09-30T12:49:29Z","content_hash":"b21e136e382fc30be4ab96bc57bbe6d8137e2ee709d1ba04949fee813a301011"}}
