🛡️ CVE-2021-23400 — nodemailer
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nodemailer | — | — |
References
Similar Threats
- Medium ROOT-APP-NPM-AIKIDO-2026-10941
- Medium ROOT-APP-NPM-AIKIDO-2026-10942
- Medium ROOT-APP-NPM-CVE-2025-13033
- High ROOT-APP-NPM-CVE-2025-14874
- Unknown CLSA-2026-1775003161
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.