Highlights
Auth Bypass: 22 prior fixes. Scrutinize any change in this area.
src/server/auth-client.ts: most-fixed (12 issues). Treat as high-risk during review.
11 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: The client logic performs session finalization, DPoP validation, and state verification during callbacks. Flaws such as failing to persist request parameters in TransactionState or improper validation of session_expiry allowed users to bypass token validation constraints.
Open Redirect: User-supplied returnTo parameters and dynamically inferred hosts are parsed to construct redirects. Failure to canonicalize paths, match exact allowlists, or detect double slashes (//) allowed attackers to redirect users to untrusted external sites.
Reflected XSS: Error messages containing identity provider or identity-broker details are written directly to HTTP responses. Failing to sanitize message variables extracted from URL query parameters allowed execution of arbitrary client-side scripts.