CVE-2021-23385

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23385
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23385.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-23385
Aliases
Downstream
Related
Published
2022-08-02T14:15:10Z
Modified
2025-08-09T20:01:27Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

This affects all versions of package Flask-Security. When using the getpostlogoutredirect and getpostloginredirect 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 'autocorrectlocationheader=False. Note: Flask-Security is not maintained anymore.

References

Affected packages