fix: upgrade lodash to 4.18.1 to patch CVE-2026-4800 (Dependabot #97)#302
Merged
PujaSingh7655 merged 1 commit intomainfrom Apr 30, 2026
Merged
Conversation
adds yarn resolutions for lodash >=4.18.0 to fix GHSA-r5fr-rjxr-66jc. lodash is a transitive dev dependency pinned to 4.18.1 in the lockfile. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
size-limit report 📦
|
Ninerian
approved these changes
Apr 30, 2026
|
🎉 This PR is included in version 3.1.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"lodash": "^4.18.0"to theresolutionsfield inpackage.jsonto force all transitive dependents to use the patched versionyarn.locknow pins lodash to 4.18.1Security Advisory
GHSA-r5fr-rjxr-66jc / CVE-2026-4800 — High severity
lodashversions>= 4.0.0, <= 4.17.23are vulnerable to Code Injection via_.templateimports key names. Untrusted input passed asoptions.importskey names flows into aFunction()constructor sink, allowing arbitrary code execution at template compile time.The fix (lodash 4.18.0+) validates
importsKeysand replacesassignInWithwithassignWithto avoid prototype pollution.Impact
lodashis a transitive dev dependency only — it is not shipped in the production bundle. Risk is limited to the build/test environment.Test plan
yarn test-unit)yarn.lockupdated — lodash resolves to 4.18.1🤖 Generated with Claude Code