CRLF Injection Affecting nodemailer package, versions <8.0.9


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NODEMAILER-17342526
  • published16 Jun 2026
  • disclosed15 Jun 2026
  • creditThai Son Dinh (sondt), Nguyen Huy Vu Dung

Introduced: 15 Jun 2026

New CVE NOT AVAILABLE CWE-93  (opens in a new tab)

How to fix?

Upgrade nodemailer to version 8.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 CRLF Injection via the comment field in the list message option. An attacker can inject arbitrary headers into generated email messages by supplying crafted input containing CRLF sequences.

CVSS Base Scores

version 4.0
version 3.1