nodemailer is vulnerable to Missing Authorization
54
Medium Risk
Nodemailer’s disableFileAccess and disableUrlAccess protections can be bypassed when using jsonTransport. Although the normal MIME streaming path enforces these options, jsonTransport calls mail.normalize(), which resolves message fields through shared.resolveContent() without checking those restrictions. As a result, attacker-controlled fields such as attachment paths or text.href may still trigger local file reads or outbound HTTP requests, exposing file contents in JSON output or causing unintended network access.
You are affected if you are using a version that falls within the vulnerable range.
nodemailer is vulnerable to Missing Authorization in versions 0.0.0 - 8.0.8.
Upgrade the nodemailer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant