Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security concern about public endpoint #2

Open
fescobar opened this issue Jul 3, 2022 · 1 comment
Open

Security concern about public endpoint #2

fescobar opened this issue Jul 3, 2022 · 1 comment

Comments

@fescobar
Copy link

fescobar commented Jul 3, 2022

With your solution, everybody can request directly your endpoint and send emails for free.
https://github.com/manuarora700/sendgrid-contact-form/blob/main/pages/api/sendgrid.js

@manuarora700
Copy link
Owner

The from and to values are hardcoded - Even if someone uses the API, it'll land in my inbox. Since the contact form is public and anyone can use it, I haven't made any Allowed List on SendGrid.

Please let me know if I'm missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants