Skip to content

[Snyk] Security upgrade lodash from 4.17.23 to 4.18.1#220

Open
dhcrees wants to merge 1 commit intodevelopfrom
snyk-fix-1a7694d474a56966459ba9fe6a35f13d
Open

[Snyk] Security upgrade lodash from 4.17.23 to 4.18.1#220
dhcrees wants to merge 1 commit intodevelopfrom
snyk-fix-1a7694d474a56966459ba9fe6a35f13d

Conversation

@dhcrees
Copy link
Copy Markdown
Contributor

@dhcrees dhcrees commented Apr 2, 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
  716  
medium severity Prototype Pollution
SNYK-JS-LODASH-15869619
  631  

Breaking Change Risk

Merge Risk: Medium

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

@dhcrees
Copy link
Copy Markdown
Contributor Author

dhcrees commented Apr 2, 2026

Merge Risk: Medium

This minor version upgrade for lodash introduces security fixes that alter existing behavior, warranting a medium risk assessment.

Key Changes:

  • _.unset / _.omit: To fix a prototype pollution vulnerability, calls attempting to traverse forbidden paths (like constructor or prototype) will now return false and not delete the property. Previously, these calls might have returned true. Code that relies on the return value of these functions for flow control may be impacted.
  • _.template: To fix a code injection vulnerability, the function will now throw an "Invalid imports option" error if the imports keys contain forbidden characters. Previously, this might have been ignored.

Recommendation: While these are important security updates, the changes introduce stricter validation and modified return values. It is recommended to verify that your application's usage of _.unset, _.omit, and _.template is not affected by this stricter behavior.

Source: GitHub Release Notes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants