Vulnerability

CVE-2021-23385

mediumCVSS 3.1 6.1Published 2 Aug 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Flask Security Project flask-security

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning