nodemailer
10.2.1 · 22 Oct 2026MIT-023.7M / weekRepositoryHomepagenpmAtom feed
Upgrading nodemailer from 9.0.2 to 9.1.1
6 releases in betweenevery note read
- 0
- changes to make
- 4
- advisories fixed
- 1
- new
- 26
- fixes
Security
12 advisories still affect 9.1.1
- Nodemailer: Quadratic (O(n^2)) DKIM header unfolding lets a large folded header cause remote denial of service during signingmoderate · GHSA-39m8-27wv-hr27
- Nodemailer: Quadratic backtracking in SMTP AUTH mechanism detection regexes allows pre-auth remote denial of servicemoderate · GHSA-4ffr-jq9g-5ffx
- Nodemailer: Quadratic (O(n^2)) SMTP client reply parsing lets a malicious server or MITM cause a pre-auth remote denial of servicemoderate · GHSA-4g23-2xm8-66gc
Upgrading to 10.1.4 clears them.
Fixes 4 advisories affecting 9.0.2
- Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signaturemoderate · GHSA-8m3c-c648-2xjj
- Nodemailer: Recipient-domain validation bypass via RFC 5322 comment mis-parsing leads to email delivery to an attacker-controlled domainmoderate · GHSA-cc9r-2j5m-2m83
- Nodemailer: IDN/Punycode domain allow-list bypass leads to email delivery to an attacker-controlled domainmoderate · GHSA-wmmp-3585-3rmp
- Nodemailer: Quadratic (O(n²)) time complexity in addressparser allows remote denial of service via a crafted address listhigh · GHSA-2x7j-588g-ccc2
Release by release
- fixed
mailer: apply the message access policy in resolveContent
- fixed
mailer: keep message data from reopening the access sandbox
- fixed
mime-node: inherit the access policy from the tree a node hangs in
- fixed
- new
mailer: cap recipients per message with maxRecipients
- fixed
addressparser: handle address lists in linear time
- fixed
addressparser: terminate the domain at an RFC 5322 comment
- fixed
mime-node: apply UTS-46 mapping when encoding a domain
- new
- fixed
addressparser: recover the addr-spec from an angle-addr holding whitespace
- fixed
Harden copies of user supplied keys and URL fetching
- fixed
- fixed
mailer: escape specials in List-* header comments
- fixed
mime-funcs: star the continuation key of a restarted parameter line
- fixed
mime-node: keep control chars out of header values and msg-id headers
- fixed
mime: encode DEL in header parameters and List-* comments
- fixed
- fixed
mime-funcs: do not let an unpaired surrogate consume the next character
- fixed
mime-funcs: keep any surrogate pair intact when chunking base64 mime words
- fixed
mime-funcs: percent encode unpaired surrogates in header parameter values
- fixed
mime-node: escape backslash and quote in the Content-Type name parameter
- fixed
mime: encode HT/CR/LF in header parameter values instead of quoting them
- fixed
- fixed
smtp-connection: harden STARTTLS upgrade and secure socket handling
- fixed
1 internal line (docs, tests, tooling) left out.