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

fix security #21

Merged
merged 4 commits into from
Mar 28, 2021
Merged

fix security #21

merged 4 commits into from
Mar 28, 2021

Conversation

mathe42
Copy link
Contributor

@mathe42 mathe42 commented Mar 28, 2021

fixes #18
replacement for #20 as it doesn't fix issue.

Copy link
Contributor Author

@mathe42 mathe42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this config has to have a mail object where ALL options from client can be overwriten.

src/index.js Outdated Show resolved Hide resolved
src/index.js Show resolved Hide resolved
@dword-design dword-design merged commit 573aaf1 into dword-design:master Mar 28, 2021
github-actions bot pushed a commit that referenced this pull request Mar 28, 2021
# [2.0.0](v1.0.15...v2.0.0) (2021-03-28)

### Bug Fixes

* preconfigure recipients in config to avoid a security leak  ([#21](#21)) ([573aaf1](573aaf1))

### BREAKING CHANGES

* You now have to configure to, cc and bcc in a message object in the module's config. This makes sure that the client does not send to arbitrary recipients from your SMTP server.
@github-actions
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Insecure?
2 participants