🛡️ CVE-2021-23400 — nodemailer

⚪ Unknown ✅ No Known Exploit CWE-74 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Header injection in nodemailer

The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability low.

Weakness class

CVE-2021-23400 is classified as CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'). The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or…

Affected software

CVE-2021-23400 is recorded against 1 package.

  • nodemailer

Timeline and source

Published on 10 December 2021 and last revised on 14 January 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
snyk.io (Web)
snyk.io (Web)

CVE-2021-23400 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE CWE-74
Public Exploit ✅ No
Source OSV
Published 2021-12-10
Updated 2026-08-12
Modified 2025-01-14
Fix URL N/A

Affected Packages

Software From version Fixed in
nodemailer

Free Vulnerability Check

Is your site affected by CVE-2021-23400?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2021-23400 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVE