CVE-2021-23400
HTTP Header Injection
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.387% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.3 · published by snykCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P
Assessment source · checked 2026-11-19T12:55:43.819Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:43.819Z | CVE Program |
| epss | verified | 2026-11-19T16:04:29.367Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:32.558Z | OSV |
| affected | verified | 2026-11-19T12:55:43.819Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:43.819Z | CVE Program |
Affected versions and configuration
n/a nodemailer; default status: unknown: unspecified to < 6.6.1 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "nodemailer",
"versions": [
{
"status": "affected",
"version": "unspecified",
"lessThan": "6.6.1",
"versionType": "custom"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/nodemailer/nodemailer/issues/1289",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9f",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T19:05:55.753Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-hwqf-gcqm-7353",
"aliases": [
"CVE-2021-23400"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.6.1"
}
]
}
],
"package": {
"name": "nodemailer",
"purl": "pkg:npm/nodemailer",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-hwqf-gcqm-7353/GHSA-hwqf-gcqm-7353.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23400",
"type": "ADVISORY"
},
{
"url": "https://github.com/nodemailer/nodemailer/issues/1289",
"type": "WEB"
},
{
"url": "https://github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9f",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-74"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-06-29T12:15:00Z",
"github_reviewed_at": "2021-06-30T17:38:02Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | nodemailer | Not a distribution channel | 6.6.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:32.558ZArchived source JSON
Source publication: 2021-12-10T18:56:57.000Z
Source modification: 2025-01-14T09:12:20.581ZDocument fingerprint
ca3a4a246d634521a55518908d51c8304fdc044f1a505c1425917fec53ef0734 - CVE ProgramConsulted: 2026-11-19T12:55:43.819ZArchived source JSON
Source publication: 2021-06-29T11:45:11.775Z
Source modification: 2024-09-16T22:56:23.040ZDocument fingerprint
d67f94607cd6786d7f375b2d53053737a82190ad4d6d5105f57a5597acfb5616 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:29.367ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
6edec3ff5408c9332bb5cad007615e6981ab6e76b387b737f9030d5936c5b5e2
Official status history
- UNKNOWN → PUBLISHED · · evidence