Skip to content

[Snyk] Fix for 2 vulnerabilities#98

Open
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-6b358d4e8fd5d07c0a1595b6585d0bfe
Open

[Snyk] Fix for 2 vulnerabilities#98
snyk-io[bot] wants to merge 1 commit into
masterfrom
snyk-fix-6b358d4e8fd5d07c0a1595b6585d0bfe

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io Bot commented Apr 3, 2026

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Arbitrary Code Injection
SNYK-JS-LODASH-15869625
  243  
medium severity Prototype Pollution
SNYK-JS-LODASH-15869619
  117  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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:

🦉 Prototype Pollution
🦉 Arbitrary Code Injection

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Apr 3, 2026

Merge Risk: High

This upgrade includes a major version increase for sequelize from v5 to v6, which introduces significant breaking changes. The upgrade for lodash is minor and includes security patches.

sequelize 5.22.5 → 6.1.0 (HIGH RISK)

This is a major upgrade with several breaking changes that require code modifications.

Key Breaking Changes:

  • Node.js Support: Support for Node.js versions older than 10.x has been dropped.
  • Promise Implementation: Bluebird has been removed and replaced with native Promises. Sequelize.Promise is no longer available, and all asynchronous methods now return native Promises.
  • sequelize.import() Removed: The sequelize.import() method for loading models has been removed. You must now use standard Node.js require() or ES6 import() statements.
  • Continuation Local Storage (CLS): For transaction support, you must now use the cls-hooked package and initialize it with Sequelize.useCLS().
  • Model.upsert() Signature Change: The method now returns an array [instance, created] where created is a boolean (or null for some dialects).

Recommendation:
Developers must carefully review the official v6 upgrade guide and update their code to address these breaking changes. This includes refactoring promise chains, model loading, and transaction management. It is highly recommended to update sequelize-cli to version 6 as well.

Source: Sequelize v6 Upgrade Guide

lodash 4.17.4 → 4.18.1 (LOW RISK)

This is a minor version upgrade that contains security patches and bug fixes, including fixes for prototype pollution vulnerabilities. No breaking API changes are documented for this range.

Source: lodash Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Apr 3, 2026

Snyk checks have failed. 1 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (1)
Open Source Security 0 1 0 0 1 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

0 participants