Skip to content

W2-F-034 - OAuth callback redirect target read from sessionStorage unvalidated #785

Description

@likableai

Severity: Medium | Area: frontend/auth | Evidence: app/auth/oauth/callback/page.tsx:38-40returnPath = sessionStorage.getItem('oauth_return_path') || '/' then router.replace(returnPath)
Impact: Any code that can write sessionStorage controls post-login navigation (internal redirect abuse). Fix: Validate the path starts with / and is not ///protocol-relative. Acceptance: External/evil return paths are rejected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programseverity: mediumWave-2 issue severitywave-8Wave-8 backlog

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions