Live threats

All CVEs / Flask-user Project

CVE-2021-23401Flask-user Project Flask-user

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Jul 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-user.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI flask-user ≤ 1.0.2.2 no fixed version —
PyPI flask-user all no fixed version —

Per OSV / GitHub Advisories (GHSA-4298-89hc-6rfv, PYSEC-2021-337). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
flask-user_projectflask-userall

Official sources

References

Links published by the sources. Open them with care.