Security mailing lists by PureSourceCode

CVE-2021-23401

MEDIUM 6.1CVSS 3.1

Open Redirect in Flask-User

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.

Published
5 Jul 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-601
Also known as
GHSA-4298-89hc-6rfvPYSEC-2021-337SNYK-PYTHON-FLASKUSER-1293188
Sources
NVDJSONOSV GHSA-4298-89hc-6rfvJSONOSV PYSEC-2021-337JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD flask-user_project flask-user
cpe:2.3:a:flask-user_project:flask-user:*:*:*:*:*:*:*:*
all versions
OSV PyPI flask-user <= 1.0.2.2
OSV PyPI flask-user all versions

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 5 Jul 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jul 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.