Skip to content

Security: Fix overly permissive CORS #367

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions