Skip to content

security: upgrade lodash to 4.18.0 - #7738

Open
wtfiwtz wants to merge 3 commits into
getredash:masterfrom
orchestrated-io:security/lodash-4.18.0
Open

security: upgrade lodash to 4.18.0#7738
wtfiwtz wants to merge 3 commits into
getredash:masterfrom
orchestrated-io:security/lodash-4.18.0

Conversation

@wtfiwtz

@wtfiwtz wtfiwtz commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

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 successfully

Related PRs

Part of the frontend security upgrade series split from #7720:

Made with Cursor

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>
@wtfiwtz
wtfiwtz marked this pull request as ready for review June 4, 2026 00:28

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

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.

1 participant