mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-21 22:53:43 -05:00
[PR #146] Security: CORS Wildcard with Credentials #1850
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/reconurge/flowsint/pull/146
Author: @tomaioo
Created: 5/15/2026
Status: 🔄 Open
Base:
main← Head:fix/security/cors-wildcard-with-credentials📝 Commits (1)
2b94895fix(security): cors wildcard with credentials📊 Changes
1 file changed (+1 additions, -3 deletions)
View changed files
📝
flowsint-api/app/main.py(+1 -3)📄 Description
Summary
Security: CORS Wildcard with Credentials
Problem
Severity:
High| File:flowsint-api/app/main.py:L30The FastAPI application allows all origins with
allow_origins=['*']while also settingallow_credentials=True. This is a security misconfiguration as browsers will block requests with credentials when the origin is wildcard.Solution
Replace wildcard '*' with specific allowed origins. If multiple origins are needed, use a list of explicit URLs instead of allowing all origins with credentials.
Changes
flowsint-api/app/main.py(modified)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.