{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23401","published":"2021-07-05T11:15:07.670000Z","last_modified":"2026-06-17T03:38:41.707000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:flask-user_project:flask-user:*:*:*:*:*:*:*:*","part":"a","vendor":"flask-user_project","product":"flask-user"}],"cpes_truncated":false,"vendors":["flask-user_project"],"products":["flask-user_project/flask-user"],"epss":{"score":0.01113,"percentile":0.66924,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4298-89hc-6rfv","ecosystem":"PyPI","name":"flask-user","purl":"pkg:pypi/flask-user","ranges":[{"introduced":"0","last_affected":"1.0.2.2"}],"versions":["0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6","0.6.1","0.6.10","0.6.12","0.6.13","0.6.14","0.6.15","0.6.16","0.6.17","0.6.19","0.6.2","0.6.20","0.6.21","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","1.0.1.1","1.0.1.2","1.0.1.3","1.0.1.4","1.0.1.5","1.0.2.0","1.0.2.1","1.0.2.2"],"versions_truncated":false},{"advisory":"PYSEC-2021-337","ecosystem":"PyPI","name":"flask-user","purl":"pkg:pypi/flask-user","ranges":[{"introduced":"0"}],"versions":["0.3","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6","0.6.1","0.6.10","0.6.12","0.6.13","0.6.14","0.6.15","0.6.16","0.6.17","0.6.19","0.6.2","0.6.20","0.6.21","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","1.0.1.1","1.0.1.2","1.0.1.3","1.0.1.4","1.0.1.5","1.0.2.0","1.0.2.1","1.0.2.2"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23401/","html_en":"/en/cve/CVE-2021-23401/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23401","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23401"},"untrusted":{"vendor_name":"Flask-user Project","product_name":"Flask-user","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/lingthio/Flask-User","tags":["Product","Third Party Advisory"]},{"url":"https://github.com/lingthio/Flask-User/blob/master/flask_user/user_manager__utils.py","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-FLASKUSER-1293188","tags":["Third Party Advisory"]}]}}