# CVE-2021-32805: URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2021-09-08T17:45:14.000Z
- Modified: 2026-07-08T06:28:28.582Z
- Also known as: GHSA-624f-cqvr-3qw4, PYSEC-2021-359
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dpgaspar Flask-AppBuilder: < 3.3.2; before 3.3.2
- flask-appbuilder (PyPI): before 3.3.2; before 6af28521589599b1dbafd6313256229ee9a4fa74

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4> (advisory, third-party-advisory, web)
- <https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32805> (advisory)
- <https://github.com/dpgaspar/Flask-AppBuilder> (package)
- <https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.2> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-359.yaml> (web)
- <https://pypi.org/project/Flask-AppBuilder> (web)

## Sources

- CVE List: [CVE-2021-32805](https://www.cve.org/CVERecord?id=CVE-2021-32805), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-624f-cqvr-3qw4](https://github.com/advisories/GHSA-624f-cqvr-3qw4), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32805](https://nvd.nist.gov/vuln/detail/CVE-2021-32805), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-359](https://osv.dev/vulnerability/PYSEC-2021-359), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-32805 · Whole record: https://cve.day/CVE-2021-32805.json · Rebuilt by cve.day 2026-11-25T22:58:03.812Z
