Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Apr 22, 2026

CVE-2023-49438 Scanner

CVE-2023-49438 Scanner - Open Redirect vulnerability in Flask-Security-Too

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3.3k
Times Used
continuous scan runs
4.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.1
CVSS
Description

An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Nov 7, 2026View on NVD →
Detail

Flask-Security-Too is a widely used security library for Flask web applications, providing tools for authentication, authorization, and more. It is commonly utilized by developers to enhance the security features of Flask applications, particularly in environments where user management and authentication are critical. The library allows for rapid implementation of security features, making it a popular choice for small to large scale web applications. Security tools like Flask-Security-Too are pivotal for developers, ensuring that their applications have the necessary security layers by default. Its seamless integration with Flask makes it highly desirable for maintaining user roles and permissions. Additionally, it's maintained regularly to address emerging security concerns.

An Open Redirect vulnerability in Flask-Security-Too affects versions prior to 5.3.3. Open Redirects are security flaws that occur when an application takes a parameter in a URL and forwards users to that parameter's value without extra validation. Attackers exploit this by crafting URLs that redirect unsuspecting users to malicious sites. This vulnerability primarily targets the '/login' and '/register' routes, using the 'next' parameter to execute the attack. Open Redirect vulnerabilities can be leveraged in phishing attacks where users are tricked into entering personal data on a counterfeit website. Proper validation and sanitization of user inputs mitigate such vulnerabilities.

The vulnerability is centered around the misuse of the 'next' parameter present in the login and register routes. Technical exploitation involves appending crafted URLs in these parameters, taking advantage of the lack of validation. These URLs subsequently lead users to destinations they did not intend to visit. The provided test vector involves modifying requests to insert potentially harmful paths using the 'next' parameter. Consequently, this can lead to the redirection of a user session to an arbitrary domain. Attackers use this flaw to launch a range of attacks, including unauthorized data access and phishing schemes. This necessitates stringent validation mechanisms to ensure user safety.

If exploited, this vulnerability can redirect users to detrimental sites, increasing the risk of phishing attacks. Users may be tricked into sharing confidential information with encroachers posing as trusted entities. Misled by seemingly legitimate URLs, users can incur data theft and unwittingly compromise their system's security. Additionally, attackers could engineer an environment conducive to session hijacking or cross-site scripting. The vulnerability, therefore, poses significant threats to user privacy and overall web application integrity. Thus, addressing this issue is imperative for securing user interactions online and maintaining trust.

REFERENCES

Solution Advice
  • Upgrade Flask-Security-Too to version 5.3.3 or later to remove the open redirect vulnerability.
  • Implement strict input validation on URL parameters, particularly the 'next' parameter, to prevent open redirects.
  • Consider employing a whitelist of allowed URLs to ensure users are only redirected to safe, trusted domains.
  • Educate users on recognizing potentially harmful URLs and the risks associated with open redirect vulnerabilities.
  • Regularly review and update security libraries and dependencies to incorporate the latest security patches.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.