{"id":"DHI-o7dr-oc3u-wml4-3ojr","aliases":[],"title":"## Summary","originalDescription":"## Summary Nodemailer's address parser can produce an unexpected recipient address when an RFC 5322 comment follows the domain of an address whose local-part is a quoted string. For example: ```text \"user\"@example.com(x)evil.com ``` is parsed as: ```text { address: \"user@example.com evil.com\", name: \"\" } ``` The resulting address therefore contains additional attacker-controlled domain text separated by a literal space. The parsed `.address` value is subsequently propagated into the SMTP envelope: ```text src/addressparser/index.ts ↓ recipient.address ↓ src/mime-node/index.ts ↓ envelope.to ``` The envelope construction uses the parsed address without another strict address validation step. This appears to be a variant of the RFC 5322 comment parsing issue addressed by GHSA-cc9r-2j5m-2m83, but it follows a different parser path when the local-part is quoted. ## Reproduction Input: ```text \"user\"@example.com(x)evil.com ``` Observed parser output: ```text address: \"user@example.com evil.com\" name: \"\" ``` A second example: ```text \"a\"@b.com(c)d.com(e)f.com ``` produces: ```text address: \"a@b.com d.com f.com\" name: \"\" ``` For comparison, the corresponding unquoted form: ```text user@exa","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-o7dr-oc3u-wml4-3ojr","type":"advisory"},{"url":"https://github.com/advisories/GHSA-g57g-f23g-4646","type":"advisory"},{"url":"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-g57g-f23g-4646","type":"advisory"},{"url":"https://github.com/nodemailer/nodemailer/commit/2f36eb1aa1dd33e312411dc9b888548e14db54ee","type":"fix"},{"url":"https://github.com/nodemailer/nodemailer/releases/tag/v10.0.9","type":"web"}],"sources":[{"name":"osv","at":"2026-12-02T23:36:11.464Z","url":"https://osv.dev/vulnerability/DHI-o7dr-oc3u-wml4-3ojr","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T21:47:36.496Z"}],"firstSeenAt":"2026-11-19T21:47:36.496Z","publishedAt":"2026-11-19T21:02:33.000Z","modifiedAt":"2026-12-02T15:45:15.327Z"}