Live threats

All CVEs / Flask Unchained Project

CVE-2021-23393Flask Unchained Project Flask Unchained

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 55
Auth required
No
Published
Jun 11, 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:U/C:L/I:L/A:N

What happens

This affects the package Flask-Unchained before 0.9.0. When using the the _validate_redirect_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. 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 Unchained.
  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-unchained < 0.9.0 0.9.0 pip install "flask-unchained>=0.9.0"
PyPI flask-unchained < 0.9.0 0.9.0 pip install "flask-unchained>=0.9.0"

Per OSV / GitHub Advisories (GHSA-pjc4-3w99-j7v4, PYSEC-2021-96). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
flask_unchained_projectflask_unchained< 0.9.0

Official sources

References

Links published by the sources. Open them with care.