Server-side Request Forgery (SSRF) Affecting org.webjars.npm:nodemailer package, versions [,9.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-19651821
  • published14 Sept 2026
  • disclosed8 Sept 2026
  • creditHcamael

Introduced: 8 Sep 2026

NewCVE-2026-92595  (opens in a new tab)
CWE-73  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:nodemailer to version 9.1.1 or higher.

Overview

org.webjars.npm:nodemailer is an Easy as cake e-mail sending from your Node.js applications

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the resolveContent() method in lib/mailer/mail-message.js. An attacker can read local files or trigger outbound URL fetches by supplying html or attachment content that is resolved through the legacy mail.resolveContent(data, key, callback) signature. When a plugin or application calls this API on a message created with disableFileAccess or disableUrlAccess, the access policy is dropped and the content resolver reaches fs.createReadStream() or nmfetch(), exposing server files or causing SSRF.

CVSS Base Scores

version 4.0
version 3.1