You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.
A ReDoS vulnerability occurs when nodemailer tries to parse img files with the parameter attachDataUrls set, causing the stuck of event loop.
Another flaw was found when nodemailer tries to parse an attachments with a embedded file, causing the stuck of event loop.
asyncfunctionexploit(){constMailComposer=require(\"nodemailer/lib/mail-composer\");constMailComposerObject=newMailComposer();// Create a malicious data URL that will cause excessive backtracking// This data URL is crafted to have a long sequence of characters that will cause the regex to backtrackconstmaliciousDataUrl='data:image/png;base64,'+'A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;'.repeat(1000)+'==';// Call the vulnerable method with the crafted inputconstresult=awaitMailComposerObject._processDataUrl({path: maliciousDataUrl});}awaitexploit();
Impact
ReDoS causes the event loop to stuck a specially crafted evil email can cause this problem.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/form-data@2.3.3. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
Critical CVE: npm json-schema is vulnerable to Prototype Pollution
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/json-schema@0.2.3. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/minimist@1.2.5. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
Critical CVE: Authorization Bypass Through User-Controlled Key in npm url-parse
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/url-parse@1.5.3. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
Critical CVE: Cross-realm object access in Webpack 5
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/webpack@5.72.1. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Aug 22, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Aug 29, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Aug 31, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Sep 11, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Sep 13, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Sep 17, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Sep 20, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Oct 10, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Oct 12, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Oct 29, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Nov 23, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Dec 2, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Dec 7, 2024
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Dec 21, 2024
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Jan 26, 2025
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Jan 31, 2025
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Feb 16, 2025
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Mar 4, 2025
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Mar 29, 2025
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 2, 2025
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 5, 2025
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 9, 2025
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
chore(deps): update dependency nodemailer to v7 [security]
Oct 7, 2025
renovateBot
changed the title
chore(deps): update dependency nodemailer to v7 [security]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Oct 15, 2025
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 15, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 17, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 19, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 20, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 21, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 22, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 23, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 23, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
Update dependency nodemailer to v6.9.9 [SECURITY] - abandoned
Apr 27, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY] - abandoned
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 27, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 29, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Apr 29, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Apr 30, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 1, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
May 12, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 12, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
May 14, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 15, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
May 18, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 19, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
May 22, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 23, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
May 28, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
May 29, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Jun 1, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Jun 2, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Jun 11, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Jun 12, 2026
renovateBot
changed the title
Update dependency nodemailer to v6.9.9 [SECURITY]
chore(deps): update dependency nodemailer to v6.9.9 [security]
Jun 18, 2026
renovateBot
changed the title
chore(deps): update dependency nodemailer to v6.9.9 [security]
Update dependency nodemailer to v6.9.9 [SECURITY]
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.7.5→6.9.9Header injection in nodemailer
CVE-2021-23400 / GHSA-hwqf-gcqm-7353
More information
Details
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
nodemailer ReDoS when trying to send a specially crafted email
GHSA-9h6g-pr28-7cqp
More information
Details
Summary
A ReDoS vulnerability occurs when nodemailer tries to parse img files with the parameter
attachDataUrlsset, causing the stuck of event loop.Another flaw was found when nodemailer tries to parse an attachments with a embedded file, causing the stuck of event loop.
Details
Regex: /^data:((?:[^;];)(?:[^,])),(.)$/
Path: compile -> getAttachments -> _processDataUrl
Regex: /(<img\b[^>]* src\s*=[\s"']*)(data:([^;]+);[^"'>\s]+)/
Path: _convertDataImages
PoC
https://gist.github.com/francoatmega/890dd5053375333e40c6fdbcc8c58df6
https://gist.github.com/francoatmega/9aab042b0b24968d7b7039818e8b2698
Impact
ReDoS causes the event loop to stuck a specially crafted evil email can cause this problem.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
nodemailer/nodemailer (nodemailer)
v6.9.9Compare Source
Bug Fixes
v6.9.8Compare Source
Bug Fixes
v6.9.7Compare Source
Bug Fixes
v6.9.6Compare Source
Bug Fixes
v6.9.5Compare Source
Bug Fixes
v6.9.4Compare Source
v6.9.3Compare Source
v6.9.2Compare Source
v6.9.1Compare Source
Bug Fixes
v6.9.0Compare Source
v6.8.0Compare Source
v6.7.8Compare Source
v6.7.7Compare Source
v6.7.6Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.