<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-17T06:41:52.921427+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-g57g-f23g-4646</id>
    <title>GHSA-g57g-f23g-4646 — Nodemailer: Quoted local-part can produce malformed envelope recipient through RFC 5322 comment parsing</title>
    <updated>2026-10-17T06:41:52.932072+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: nodemailer</p>
<p>## Summary</p>
<p>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.</p>
<p>For example:</p>
<p>```text
"user"@example.com(x)evil.com
```</p>
<p>is parsed as:</p>
<p>```text
{
  address: "user@example.com evil.com",
  name: ""
}
```</p>
<p>The resulting address therefore contains additional attacker-controlled domain text separated by a literal space.</p>
<p>The parsed `.address` value is subsequently propagated into the SMTP envelope:</p>
<p>```text
src/addressparser/index.ts
        ↓
recipient.address
        ↓
src/mime-node/index.ts
        ↓
envelope.to
```</p>
<p>The envelope construction uses the parsed address without another strict address validation step.</p>
<p>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.</p>
<p>## Reproduction</p>
<p>Input:</p>
<p>```text
"user"@example.com(x)evil.com
```</p>
<p>Observed parser output:</p>
<p>```text
address: "user@example.com evil.com"
name: ""
```</p>
<p>A second example:</p>
<p>```text
"a"@b.com(c)d.com(e)f.com
```</p>
<p>produces:</p>
<p>```text
address: "a@b.com d.com f.com"
name: ""
```</p>
<p>For comparison, the corresponding unquoted form:</p>
<p>```text
user@example.com(x)evil.com
```</p>
<p>takes a different code path and is handled by the existing protection differently.</p>
<p>## Technical Details</p>
<p>The issue is caused by different parsing behavior for quoted and unquoted local-parts.</p>
<p>The quoted-local-part variant a…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-g57g-f23g-4646"/>
  </entry>
</feed>
