Skip to content

[Snyk] Security upgrade lodash-es from 4.17.21 to 4.18.1#175

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-665dfef059caec2df9b9e7542353cac0
Open

[Snyk] Security upgrade lodash-es from 4.17.21 to 4.18.1#175
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-665dfef059caec2df9b9e7542353cac0

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Apr 2, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • apps/ms-word-addin/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 Arbitrary Code Injection
SNYK-JS-LODASHES-15869627
  243  
medium severity Prototype Pollution
SNYK-JS-LODASHES-15869621
  117  

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

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 2, 2026

Merge Risk: Medium

This upgrade from lodash-es version 4.17.21 to 4.18.1 is a minor update that primarily includes security fixes which introduce behavioral changes that may require verification.

Key Changes:

  • Behavioral Change in _.unset / _.omit: As part of a security fix for prototype pollution, calls that previously might have successfully deleted a property by traversing constructor or prototype will now return false and not modify the target object.
  • Stricter Validation in _.template: To prevent code injection, the imports option now has stricter validation. Keys that were previously exploitable will now cause _.template to throw an "Invalid imports option" error.
  • Bug Fix: Version 4.18.1 specifically corrects a ReferenceError bug introduced in 4.18.0 that affected modular builds when using the template and fromPairs functions.

Verification Required:
While these changes fix security vulnerabilities, they alter behavior that code might inadvertently rely on. 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.

0 participants