Skip to content

Conversation

@acid-chicken
Copy link
Member

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncontrolled Recursion
SNYK-JS-NODEMAILER-14157156
  803  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-14157156
Copilot AI review requested due to automatic review settings December 5, 2025 23:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This is an automated Snyk security PR that upgrades nodemailer from ^6.4.1 to ^7.0.11 to fix a high-severity vulnerability (SNYK-JS-NODEMAILER-14157156: Uncontrolled Recursion). However, this is a major version upgrade with breaking changes that will cause the application to fail.

Key Issues:

  • Critical: Nodemailer v7.x requires Node.js v18+, but the project uses Node.js v12.6.0
  • The upgrade includes breaking API changes (callback deprecation, transport option changes)
  • Potential compatibility issues with nodemailer-smime dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"nested-property": "^0.0.7",
"node-schedule": "^1.3.2",
"nodemailer": "^6.4.1",
"nodemailer": "^7.0.11",
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nodemailer v7.x requires Node.js v18 or higher, but this project uses Node.js v12.6.0 (as specified in .node-version). This upgrade will break the application. You need to either:

  1. Upgrade Node.js to v18+ before upgrading nodemailer, or
  2. Stay on nodemailer v6.x and apply security patches

Additionally, nodemailer v7.x has breaking API changes:

  • The callback pattern in sendMail() is deprecated (see src/server/api/endpoints/i/update-email.ts:88-100)
  • Some transport options like ignoreTLS may have changed
  • The nodemailer-smime dependency (v1.1.0) may not be compatible with nodemailer v7.x
Suggested change
"nodemailer": "^7.0.11",
"nodemailer": "^6.9.4",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants