Property
Languagepython
Severitylow
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

Description#

User-supplied data from the request is directly passed to Flask’s redirect() function without proper validation. This allows attackers to craft URLs that redirect users to external, potentially malicious sites.

Impact#

Exploiting this vulnerability can let attackers trick users into leaving your site for phishing or malicious sites, undermining user trust and enabling theft of credentials or sensitive information. It may also facilitate other attacks such as session hijacking or social engineering.