Improper Validation of Specified Quantity in Input Affecting nodemailer package, versions >=9.1.0 <10.0.9


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NODEMAILER-20158388
  • published27 Sept 2026
  • disclosed26 Sept 2026
  • creditUnknown

Introduced: 26 Sep 2026

NewCVE-2026-100699  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade nodemailer to version 10.0.9 or higher.

Overview

nodemailer is an Easy as cake e-mail sending from your Node.js applications

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via the addressparser module's handling of quoted local-part addresses. When an address of the form "user"@good-corp.com(x)evil.com is parsed, the comment token ends the domain but leaves the trailing atoms in the same text buffer as the mailbox, causing the parser to produce the address user@good-corp.com evil.com. An application that validates the address it receives can be bypassed by supplying a quoted local-part spelling of the same value, allowing an attacker to inject a second, attacker-controlled domain into the envelope recipient.

References

CVSS Base Scores

version 4.0
version 3.1