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

Move mjml to optional dependencies #1162

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Move mjml to optional dependencies #1162

merged 2 commits into from
Apr 25, 2024

Conversation

sirmonin
Copy link

@sirmonin sirmonin commented Apr 23, 2024

At the moment @nestjs-modules/mailer suffers from High severity vulnerablity GHSA-pfq8-rq6v-vf5m. The vulnerable, not well-maintained package html-minifier is a depenency of the mjml package.
This mjml package is used only for adapter implementation, and it is not mandatory to have it installed.

At the moment, there is no fix for mjml or html-minifier. Moving mjml into optional dependencies (similar to other adapters) allows to install @nestjs-modules/mailer using any other adapter, without suffering audit failure in a short term, until the vulnerability is fixed.

Related issue: #1092

@juandav juandav merged commit aa49b7f into nest-modules:main Apr 25, 2024
@sirmonin sirmonin deleted the optional-mjml branch April 29, 2024 07:25
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

Successfully merging this pull request may close these issues.

5 participants