security: upgrade lodash to 4.18.0 - #7738
Open
wtfiwtz wants to merge 3 commits into
Open
Conversation
Upgrade lodash from 4.17.x to 4.18.0 and add lodash.template override to address prototype pollution and ReDoS vulnerabilities. Changes: - package.json: Update lodash ^4.17.21 → ^4.18.0 - viz-lib/package.json: Update lodash ^4.17.10 → ^4.18.0 - Add lodash ^4.18.0 and lodash.template 4.18.1 to pnpm.overrides - Regenerate pnpm-lock.yaml CVEs Addressed: - CVE-2026-4800: lodash.template vulnerability (fixed via 4.18.1 override) - Prototype pollution vulnerabilities in lodash 4.17.x - ReDoS (Regular Expression Denial of Service) fixes in lodash 4.18.x The lodash 4.18.x series includes critical security fixes for prototype pollution attacks and regular expression performance issues that could lead to denial of service. Test Results: - Frontend tests: ✓ All 15 test suites passed (90 tests) - TypeScript compilation: ✓ Type checking passed Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 2, 2026
wtfiwtz
marked this pull request as ready for review
June 4, 2026 00:28
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
Upgrade lodash from 4.17.x to 4.18.0 and add lodash.template override to address prototype pollution and ReDoS vulnerabilities.
Changes
CVEs Addressed
The lodash 4.18.x series includes critical security fixes for prototype pollution attacks and regular expression performance issues that could lead to denial of service.
Test Results
Related PRs
Part of the frontend security upgrade series split from #7720:
Made with Cursor