{"id":"CVE-2021-23400","published":"2021-06-29T11:45:11Z","modified":"2024-09-16T22:56:23Z","title":"HTTP Header Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01387,"percentile":0.72925,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodemailer/nodemailer/issues/1289","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9f","tags":["x_refsource_MISC"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.58},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"nodemailer","versions":[">= unspecified, < 6.6.1"]}],"affected":[{"ecosystem":"npm","package":"nodemailer","vulnerableRanges":["<6.6.1"],"patched":["6.6.1"],"from":["GHSA-hwqf-gcqm-7353"],"provenance":"source"}],"summary":{"text":"The flaw is an HTTP header injection in the nodemailer package, affecting versions before 6.6.1. It arises when unsanitized user input containing newline and carriage return characters is passed into an address object.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:09Z"},"euvd":{"id":"EUVD-2021-2533","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7769","published":"2020-11-12","fixed":"6.4.16","kev":false,"link":{"from":"CVE-2020-7769","to":"CVE-2021-23400","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodemailer","fromFixed":"6.4.16","toFixed":"6.6.1","daysApart":229}]}},{"cve":"CVE-2021-23400","published":"2021-06-29","fixed":"6.6.1","kev":false},{"cve":"CVE-2025-13033","published":"2025-11-14","fixed":"7.0.7","kev":false},{"cve":"CVE-2025-14874","published":"2025-12-18","fixed":"7.0.11","kev":false},{"cve":"CVE-2026-82662","published":"2026-08-31","fixed":"8.0.8","kev":false}],"package":"npm:nodemailer"}}