Vulnerability DatabaseGHSA-mm7p-fcc7-pg87

GHSA-mm7p-fcc7-pg87
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability in Nodemailer versions below 7.0.7 was discovered where the email parsing library incorrectly handles quoted local-parts containing @ symbol. The issue (GHSA-mm7p-fcc7-pg87) was published on October 5, 2025, and affects the npm package nodemailer. This vulnerability could lead to misrouting of email recipients, where the parser extracts and routes to an unintended domain instead of the RFC-compliant target (GitHub Advisory).

Technical details

The vulnerability stems from improper input validation (CWE-20) and interpretation conflict (CWE-436) in the email address parser. When processing email addresses with quoted local-parts containing @ symbols (e.g., '"xclow3n@gmail.com x"@internal.domain'), the parser incorrectly extracts and routes to an unintended domain. The vulnerability has been assigned a CVSS v4.0 score of 5.5 (Moderate), with base metrics indicating Network attack vector, Low complexity, and No attack requirements (GitHub Advisory).

Impact

The vulnerability can lead to several security implications including email misdelivery and data leakage where emails are sent to unintended domains, potential filter evasion allowing bypass of logs and anti-spam systems, compliance issues due to violation of RFC 5321/5322 parsing rules, and domain-based access control bypass in downstream applications using the library (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Nodemailer version 7.0.7. The fix includes correcting the parser to properly treat quoted local-parts according to RFC 5321/5322 standards and adding strict validation to reject local-parts containing embedded @ symbols unless fully compliant with quoting rules. Users are advised to upgrade to version 7.0.7 or later (Nodemailer Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59159CRITICAL9.6
  • JavaScriptJavaScript
  • sillytavern
NoYesOct 06, 2025
CVE-2025-11362HIGH8.7
  • JavaScriptJavaScript
  • pdfmake
NoYesOct 07, 2025
CVE-2025-59536HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesOct 03, 2025
GHSA-mm7p-fcc7-pg87MEDIUM5.5
  • JavaScriptJavaScript
  • nodemailer
NoYesOct 07, 2025
CVE-2025-59829LOW2.3
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management