social-auth-core is vulnerable to Improper Input Validation
70
CVE Score
High
Improper Input Validation
The sanitize_redirect helper decides whether a return URL is allowed for a set of trusted hosts. It previously let through targets containing backslashes or Unicode control characters and did not reject non-HTTP(S) schemes in all cases, which can combine with browser normalization to produce unsafe redirects. Several OAuth backends now enable the standard STATE_PARAMETER so callbacks can be tied to the authorization step, and one provider passes the checked state when building the follow-up request. The SAML flow no longer reuses a stored session for the return leg until the SAML response has been cryptographically checked, and OpenID Connect PKCE handling defaults to the RFC’s S256 and verifier length on the shared PKCE base class path.
Upgrade the social-auth-core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 4.8.6
Fixed in 4.8.7social-auth-core is vulnerable to Improper Input Validation in versions 0.0.1 - 4.8.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.