{"schemaVersion":3,"id":"CVE-2021-32805","aliases":["GHSA-624f-cqvr-3qw4","PYSEC-2021-359"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-09-08T17:45:14.000Z","modified":"2024-08-03T23:33:55.943Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":10,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.007,"percentile":0.52325,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.007},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.007,"percentile":0.52325}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.007,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.007,"percentile":0.52325}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/601.html"}],"affected":[{"vendor":"dpgaspar","product":"flask-appbuilder","name":"flask-appbuilder","label":"flask-appbuilder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.2","eol":null,"hubHref":"/vendor/dpgaspar/flask-appbuilder"},{"vendor":"PyPI","product":"flask-appbuilder","name":"flask-appbuilder","label":"flask-appbuilder","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/flask-appbuilder","purlType":"pypi","versions":[{"text":"< 6af28521589599b1dbafd6313256229ee9a4fa74","noFixRecorded":false,"fixedIn":null},{"text":"< 3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6af28521589599b1dbafd6313256229ee9a4fa74 | < 3.3.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4","label":"github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74","label":"github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32805","label":"nvd.nist.gov/vuln/detail/CVE-2021-32805","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder","label":"github.com/dpgaspar/Flask-AppBuilder","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.2","label":"github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-359.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-359.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/Flask-AppBuilder","label":"pypi.org/project/Flask-AppBuilder","hostname":"pypi.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-09-08T17:45:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:33:55.943Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:25:30.137Z","stale":false,"partial":false}}