{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23385","published":"2022-08-02T14:15:10.017000Z","last_modified":"2026-06-17T03:38:39.950000Z","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-security_project:flask-security:*:*:*:*:*:*:*:*","part":"a","vendor":"flask-security_project","product":"flask-security"}],"cpes_truncated":false,"vendors":["flask-security_project"],"products":["flask-security_project/flask-security"],"epss":{"score":0.01247,"percentile":0.69356,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cg8c-gc2j-2wf7","ecosystem":"PyPI","name":"flask-security","purl":"pkg:pypi/flask-security","ranges":[{"introduced":"0","last_affected":"3.0.0"}],"versions":["1.2.0","1.2.1","1.2.2","1.2.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","3.0.0"],"versions_truncated":false},{"advisory":"PYSEC-2026-809","ecosystem":"PyPI","name":"flask-security","purl":"pkg:pypi/flask-security","ranges":[{"introduced":"0","fixed":"5.5.1"}],"versions":["1.2.0","1.2.1","1.2.2","1.2.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","3.0.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23385/","html_en":"/en/cve/CVE-2021-23385/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23385","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23385"},"untrusted":{"vendor_name":"Flask-security Project","product_name":"Flask-security","desc_en":"This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, 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. 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. **Note:** Flask-Security is not maintained anymore.","affected":[],"references":[{"url":"https://github.com/mattupstate/flask-security","tags":["Product","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/blog/url-confusion-vulnerabilities/","tags":["Technical Description","Third Party Advisory"]}]}}