Intel

AIKIDO-2026-10942

nodemailer is vulnerable to CRLF Injection

CRLF InjectionGHSA-268h-hp4c-crq3 Published Yesterday

54

Medium Risk

This Affects:

JSnodemailer
0.0.0 - 8.0.8
Fixed in 8.0.9
Are you affected? Scan for Free

TL;DR

Nodemailer constructs List-* headers from the caller-provided list message option using internally prepared header values. The list.*.comment field is inserted into those prepared values without removing CR ( ) or LF ( ) characters. Because prepared headers bypass the normal header-value sanitizer and are passed to mimeFuncs.foldLines(), a CRLF sequence in a list comment is emitted as an actual header boundary in the generated RFC822 message.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

nodemailer is vulnerable to CRLF Injection in versions 0.0.0 - 8.0.8.

How to fix this

Upgrade the nodemailer library to the patch version.