{"id":"CVE-2021-32805","published":"2021-09-08T17:45:14Z","modified":"2024-08-03T23:33:55Z","title":"URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder","vendor":"dpgaspar","product":"Flask-AppBuilder","tier":"tail","description":{"text":"Flask-AppBuilder is an application development framework, built on top of Flask. In affected versions if using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability. To resolve this issue upgrade to Flask-AppBuilder 3.2.2 or above. If upgrading is infeasible users may filter HTTP traffic containing `?next={next-site}` where the `next-site` domain is different from the application you are protecting as a workaround.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.007,"percentile":0.48703,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.74},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"dpgaspar","affectedVersions":[{"vendor":"dpgaspar","product":"Flask-AppBuilder","versions":["< 3.3.2"]}],"affected":[{"ecosystem":"PyPI","package":"Flask-AppBuilder","vulnerableRanges":["<3.3.2"],"patched":["3.3.2"],"from":["GHSA-624f-cqvr-3qw4","PYSEC-2021-359"],"provenance":"source"}],"summary":{"text":"Flask-AppBuilder, an application development framework built on Flask, contains an open redirect flaw in its OAuth login handling. An attacker can craft a URL on a trusted application's domain that redirects a user to a malicious site, requiring only that the victim is sent the link and follows it, with no authentication needed and no configuration beyond using Flask-AppBuilder OAuth.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:59Z"},"euvd":{"id":"EUVD-2021-0081","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dpgaspar-flask-appbuilder-cve-2021-32805","children":[{"from":"CVE-2021-32805","to":"CVE-2022-24776","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["flask_appbuilder/security/views.py"],"commits":["https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74","https://github.com/dpgaspar/Flask-AppBuilder/commit/5214d975ebad2ff32057443d2cc20fef1c04d0ea"],"basis":"shared function","functions":["login","oauth_authorized"]}]}],"packageHistory":[{"cve":"CVE-2021-29621","published":"2021-06-07","fixed":"3.3.0","kev":false,"link":{"from":"CVE-2021-29621","to":"CVE-2021-32805","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Flask-AppBuilder","fromFixed":"3.3.0","toFixed":"3.3.2","daysApart":93}]}},{"cve":"CVE-2021-32805","published":"2021-09-08","fixed":"3.3.2","kev":false},{"cve":"CVE-2021-41265","published":"2021-12-09","fixed":"3.3.4","kev":false,"link":{"from":"CVE-2021-32805","to":"CVE-2021-41265","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Flask-AppBuilder","fromFixed":"3.3.2","toFixed":"3.3.4","daysApart":92}]}},{"cve":"CVE-2022-21659","published":"2022-01-31","fixed":"3.4.4","kev":false},{"cve":"CVE-2022-24776","published":"2022-03-24","fixed":"3.4.5","kev":false}],"package":"PyPI:Flask-AppBuilder"}}