CRLF Injection Affecting nodemailer package, versions <8.0.5


Severity

Recommended
0.0
medium
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-15930946
  • published8 Apr 2026
  • disclosed8 Apr 2026
  • creditByunSuyoung

Introduced: 8 Apr 2026

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

How to fix?

Upgrade nodemailer to version 8.0.5 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 name configuration configuration option. An attacker can inject arbitrary SMTP commands by supplying carriage return and line feed sequences, enabling unauthorized email sending, sender spoofing, and phishing attacks before authentication occurs.

CVSS Base Scores

version 4.0
version 3.1