Security readout for executives and security teams
Plain-English summary
Nodemailer before 6.6.1 can mishandle untrusted email address data containing carriage returns or newlines. In affected applications, this can allow HTTP header injection through address objects. The issue is moderate, but it matters where public forms or workflows feed user-controlled address fields into Nodemailer.
Executive priority
Prioritize remediation for customer-facing or automated email workflows that accept user-provided recipient or sender details. This is not a known actively exploited emergency from the supplied sources, but it is a practical input-handling flaw in a common mail library.
Technical view
The vulnerability is an HTTP Header Injection flaw in Nodemailer before 6.6.1. Sources describe exposure when unsanitized user input containing CRLF characters is passed into an address object. The CVSS 3.1 score is 6.3, with network attack vector, low complexity, no privileges required, and user interaction required.
Likely exposure
Exposure is most likely in Node.js applications using Nodemailer before 6.6.1 where users can influence address object fields such as names or email addresses. Evidence for other affected products is limited to the supplied webjar reference, not a separate product claim.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation. The CVSS vector includes proof-of-concept maturity, so treat exploitation as plausible in exposed input paths, but do not assume observed attacks from the provided evidence.
Researcher notes
Focus review on object-form address construction and any path where display names or addresses are built from request data. The supplied evidence supports Nodemailer before 6.6.1 and a CRLF-based header injection condition, but does not provide broader exploitation telemetry.
Mitigation direction
- Upgrade Nodemailer to version 6.6.1 or later.
- Review vendor guidance and linked upstream fix notes.
- Reject carriage returns and newlines in address object inputs.
- Normalize and validate user-supplied email names and addresses.
- Pin dependency versions and refresh lockfiles after upgrading.
Validation and detection
- Inventory applications that depend on Nodemailer.
- Confirm installed versions are not earlier than 6.6.1.
- Trace public input into Nodemailer address objects.
- Check validation blocks CRLF characters before email construction.
- Run regression tests for email-sending workflows.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23400 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P2.83.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737CVE reference · x_refsource_MISC
- https://github.com/nodemailer/nodemailer/issues/1289CVE reference · x_refsource_MISC
- https://github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9fCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
