Approved changes feed: RSS · Atom

cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorFlask Security Project (832c714c-c826-5fd4-affb-ad0dfb8443e6)
ProductFlask Security (e4b4a23d-e7da-5f40-bc6e-f04a5bdd9413)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/flask-middleware/flask-security purl2cpe 2026-06-01 10:11:10.887180

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2021-32618 vulnerable 2026-06-08 05:32:07.672669 Open Redirect Vulnerability
LOW (3.1)
The Python "Flask-Security-Too" package is used for adding security features to your Flask application. It is an is an independently maintained version of Flask-Security based on the 3.0.0 version of Flask-Security. All versions of Flask-Security-Too allow redirects after many successful views (e.g. /login) by honoring the ?next query param. There is code in FS to validate that the url specified in the next parameter is either relative OR has the same netloc (network location) as the requesting URL. This check utilizes Pythons urlsplit library. However many browsers are very lenient on the kind of URL they accept and 'fill in the blanks' when presented with a possibly incomplete URL. As a concrete example - setting http://login?next=\\\github.com will pass FS's relative URL check however many browsers will gladly convert this to http://github.com. Thus an attacker could send such a link to an unwitting user, using a legitimate site and have it redirect to whatever site they want. This is considered a low severity due to the fact that if Werkzeug is used (which is very common with Flask applications) as the WSGI layer, it by default ALWAYS ensures that the Location header is absolute - thus making this attack vector mute. It is possible for application writers to modify this default behavior by setting the 'autocorrect_location_header=False`.
Published: 2021-05-17T18:05:11.000Z
Updated: 2024-08-03T23:25:30.629Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-23385 vulnerable 2026-06-08 05:30:02.835031 Open Redirect
MEDIUM (5.4)
This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, 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. **Note:** Flask-Security is not maintained anymore.
Published: 2022-08-02T13:25:14.717Z
Updated: 2024-09-16T22:08:36.808Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.