Skip to content

Security: Fix overly permissive CORS #367

@adityack477

Description

@adityack477

The Express server uses cors('*') which allows any origin to call the API, including credentials. This is a security risk. The CORS config should be updated to accept only the frontend origin from an env variable.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions