CVE-2021-23401 Details
Description
This affects all versions of package Flask-User. When using the make_safe_url function, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as /////evil.com/path or \\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lingthio/Flask-User | CVE | ProductThird Party Advisory |
| https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.py | CVE | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188 | CVE | Third Party Advisory |
| https://github.com/lingthio/Flask-User | [email protected] | ProductThird Party Advisory |
| https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.py | [email protected] | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flask-user project flask-user | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 8, 2021 | Initial Analysis | [email protected] |