Security readout for executives and security teams
Plain-English summary
This is an open redirect in Flask-Unchained. A malicious link could send a user through a trusted application to an external site, supporting phishing or token capture scenarios. The sources rate it medium and show no KEV-listed active exploitation.
Executive priority
Treat as a focused medium-priority remediation. Prioritize internet-facing login, SSO, password reset, and invitation flows because open redirects can make phishing more credible.
Technical view
Flask-Unchained before 0.9.0 could incorrectly validate redirect URLs when _validate_redirect_url is used. The bypass depends on multiple leading backslashes and is exploitable only with non-default WSGI behavior: an alternative WSGI server or Werkzeug with autocorrect_location_header disabled.
Likely exposure
Exposure is likely limited to Python applications using Flask-Unchained before 0.9.0, calling _validate_redirect_url for user-influenced redirects, and running under the specific WSGI conditions described in the CVE.
Exploitation context
The CVSS vector requires user interaction and no privileges. The bundle does not provide evidence of active exploitation, and KEV is false. Business risk is mainly phishing enablement and trust abuse, not direct server compromise.
Researcher notes
The important boundary condition is deployment-specific WSGI behavior. Do not assume every Flask-Unchained use is exploitable. The source bundle lists no CWE and does not provide operational exploit evidence beyond proof-of-concept maturity in CVSS.
Mitigation direction
- Upgrade Flask-Unchained from versions before 0.9.0.
- Keep Werkzeug redirect header autocorrection enabled unless vendor guidance says otherwise.
- Review redirect endpoints for strict same-origin or approved-destination validation.
- Check vendor guidance before relying on local validation changes.
- Add regression tests for rejected external redirect destinations.
Validation and detection
- Inventory applications for Flask-Unchained dependency versions before 0.9.0.
- Search application code for _validate_redirect_url usage.
- Confirm which WSGI server handles affected applications.
- Verify Werkzeug autocorrect_location_header is not disabled.
- Review redirect flows where users control next or return URLs.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23393 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C2.82.5Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-PYTHON-FLASKUNCHAINED-1293189CVE reference · x_refsource_MISC
- https://github.com/briancappello/flask-unchained/commit/71e36b28166f9ffbe0a991f51127f0984f7e6a40CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
