All CVEs / Flask Unchained Project
CVE-2021-23393Flask Unchained Project Flask Unchained
Medium 5.4 No auth needed
Follow: this CVE · Flask Unchained Project · Flask Unchained Project Flask Unchained We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Flask Unchained.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| flask_unchained_project | flask_unchained | < 0.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- snyk.io Patch Third Party Advisory