CVE Catalog

GHSA-cc9r-2j5m-2m83

Medium
Published: Translated: NVD NIST

Summary

Nodemailer's email-address parser treats an RFC 5322 comment inside the domain as a point to concatenate the surrounding text, rather than as folding whitespace (CFWS) that terminates the domain. This can lead to incorrect parsing, e.g., [email protected](x)evil.c..., potentially redirecting messages or bypassing validation.

Risk Assessment

An attacker could exploit this to change the target address of a message, potentially directing it to a malicious domain or bypassing security filters.

Recommendation

Update Nodemailer to a patched version of the address parser and test handling of addresses with comments.

Other vulnerabilities in Nodemailer

See all
Original NVD description (English source)

### Summary Nodemailer's email-address parser treats an **RFC 5322 comment** `( ... )` inside the domain as a point to **concatenate** the surrounding text, rather than as folding whitespace (CFWS) that **terminates** the domain. Consequently a recipient address such as `[email protected](x)evil.c

Vulnerability data from NVD (NIST) · CISA KEV · EPSS