CVE-2021-23401

Summary

CVECVE-2021-23401
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-05 11:15:00 UTC
Updated2021-07-08 18:08:00 UTC
DescriptionThis 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.

Risk And Classification

Problem Types: CWE-601

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Flask-user Project Flask-user All All All All

References

ReferenceSourceLinkTags
GitHub - lingthio/Flask-User: Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more. MISC github.com
Open Redirect in flask-user | Snyk MISC snyk.io
Flask-User/user_manager__utils.py at master · lingthio/Flask-User · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Noam Moshe of Claroty

Legacy QID Mappings

  • 376251 Python Flask-User Plugin Open Redirect Vulnerability
  • 981719 Python (pip) Security Update for Flask-User (GHSA-4298-89hc-6rfv)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report