# CVE-2023-49438: Open redirect vulnerability in Flask-Security-Too

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 1.07%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-26T00:00:00.000Z
- Modified: 2026-06-17T06:35:59.800Z
- Also known as: GHSA-672h-6x89-76m5, PYSEC-2023-248
- Weaknesses: CWE-601
- Assigned by: mitre

## Description

An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- flask-security-too (PyPI): before 5.3.3
- flask-security-too_project flask-security-too: up to 5.3.2

## Every score

- GitHub: 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/brandon-t-elliott/CVE-2023-49438> (exploit, evidence, mitigation, third-party-advisory, web)
- <https://github.com/Flask-Middleware/flask-security> (package, product, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49438> (advisory)
- <https://github.com/Flask-Middleware/flask-security/commit/8b5abc4d4db9926a3d76b34b8b03255effb5e712> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/flask-security-too/PYSEC-2023-248.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM> (web)
- <https://github.com/advisories/GHSA-672h-6x89-76m5> (advisory)

## Sources

- CVE List: [CVE-2023-49438](https://www.cve.org/CVERecord?id=CVE-2023-49438), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-672h-6x89-76m5](https://github.com/advisories/GHSA-672h-6x89-76m5), CC-BY-4.0, modified 2024-09-20
- NVD: [CVE-2023-49438](https://nvd.nist.gov/vuln/detail/CVE-2023-49438), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-248](https://osv.dev/vulnerability/PYSEC-2023-248), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-49438 · Whole record: https://cve.day/CVE-2023-49438.json · Rebuilt by cve.day 2026-11-25T22:58:31.684Z
