Skip to content

Chore: Bump lodash from 4.17.23 to 4.18.1#3789

Merged
oliverfoster merged 1 commit intomasterfrom
dependabot/npm_and_yarn/lodash-4.18.1
Apr 13, 2026
Merged

Chore: Bump lodash from 4.17.23 to 4.18.1#3789
oliverfoster merged 1 commit intomasterfrom
dependabot/npm_and_yarn/lodash-4.18.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 2, 2026

Bumps lodash from 4.17.23 to 4.18.1.

Release notes

Sourced from lodash's releases.

4.18.1

Bugs

Fixes a ReferenceError issue in lodash lodash-es lodash-amd and lodash.template when using the template and fromPairs functions from the modular builds. See lodash/lodash#6167

These defects were related to how lodash distributions are built from the main branch using https://github.com/lodash-archive/lodash-cli. When internal dependencies change inside lodash functions, equivalent updates need to be made to a mapping in the lodash-cli. (hey, it was ahead of its time once upon a time!). We know this, but we missed it in the last release. It's the kind of thing that passes in CI, but fails bc the build is not the same thing you tested.

There is no diff on main for this, but you can see the diffs for each of the npm packages on their respective branches:

4.18.0

v4.18.0

Full Changelog: lodash/lodash@4.17.23...4.18.0

Security

_.unset / _.omit: Fixed prototype pollution via constructor/prototype path traversal (GHSA-f23m-r3pf-42rh, fe8d32e). Previously, array-wrapped path segments and primitive roots could bypass the existing guards, allowing deletion of properties from built-in prototypes. Now constructor and prototype are blocked unconditionally as non-terminal path keys, matching baseSet. Calls that previously returned true and deleted the property now return false and leave the target untouched.

_.template: Fixed code injection via imports keys (GHSA-r5fr-rjxr-66jc, CVE-2026-4800, 879aaa9). Fixes an incomplete patch for CVE-2021-23337. The variable option was validated against reForbiddenIdentifierChars but importsKeys was left unguarded, allowing code injection via the same Function() constructor sink. imports keys containing forbidden identifier characters now throw "Invalid imports option passed into _.template".

Docs

  • Add security notice for _.template in threat model and API docs (#6099)
  • Document lower > upper behavior in _.random (#6115)
  • Fix quotes in _.compact jsdoc (#6090)

lodash.* modular packages

Diff

We have also regenerated and published a select number of the lodash.* modular packages.

These modular packages had fallen out of sync significantly from the minor/patch updates to lodash. Specifically, we have brought the following packages up to parity w/ the latest lodash release because they have had CVEs on them in the past:

Commits
  • cb0b9b9 release(patch): bump main to 4.18.1 (#6177)
  • 75535f5 chore: prune stale advisory refs (#6170)
  • 62e91bc docs: remove n_ Node.js < 6 REPL note from README (#6165)
  • 59be2de release(minor): bump to 4.18.0 (#6161)
  • af63457 fix: broken tests for _.template 879aaa9
  • 1073a76 fix: linting issues
  • 879aaa9 fix: validate imports keys in _.template
  • fe8d32e fix: block prototype pollution in baseUnset via constructor/prototype traversal
  • 18ba0a3 refactor(fromPairs): use baseAssignValue for consistent assignment (#6153)
  • b819080 ci: add dist sync validation workflow (#6137)
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies javascript Pull requests that update javascript code labels Apr 2, 2026
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lodash-4.18.1 branch from ce3ee62 to 52b636e Compare April 13, 2026 07:58
@oliverfoster oliverfoster merged commit 079e907 into master Apr 13, 2026
1 check passed
@oliverfoster oliverfoster deleted the dependabot/npm_and_yarn/lodash-4.18.1 branch April 13, 2026 08:47
github-actions bot pushed a commit that referenced this pull request Apr 13, 2026
# [5.56.0](v5.55.2...v5.56.0) (2026-04-13)

### Chore

* Bump axios from 1.8.4 to 1.15.0 (#3794) ([e3c5b46](e3c5b46)), closes [#3794](#3794)
* Bump brace-expansion from 1.1.12 to 1.1.13 (#3792) ([3ef184a](3ef184a)), closes [#3792](#3792)
* Bump fast-xml-parser from 4.5.0 to 4.5.6 (#3793) ([785578e](785578e)), closes [#3793](#3793)
* Bump flatted from 3.2.9 to 3.4.2 (#3779) ([5d856fd](5d856fd)), closes [#3779](#3779)
* Bump handlebars from 4.7.8 to 4.7.9 (#3783) ([ef38e55](ef38e55)), closes [#3783](#3783)
* Bump lodash from 4.17.21 to 4.17.23 (#3750) ([ee264d8](ee264d8)), closes [#3750](#3750)
* Bump lodash from 4.17.23 to 4.18.1 (#3789) ([079e907](079e907)), closes [#3789](#3789)
* Bump lodash-es from 4.17.21 to 4.17.23 (#3749) ([b7d17e0](b7d17e0)), closes [#3749](#3749)
* Bump lodash-es from 4.17.23 to 4.18.1 (#3790) ([718e128](718e128)), closes [#3790](#3790)
* Bump picomatch (#3782) ([934455e](934455e)), closes [#3782](#3782)
* Bump qs from 6.14.1 to 6.14.2 (#3759) ([8e6a7e8](8e6a7e8)), closes [#3759](#3759)
* Bump rollup from 2.79.2 to 2.80.0 (#3767) ([6d3b700](6d3b700)), closes [#3767](#3767)
* Bump serialize-javascript and @rollup/plugin-terser (#3791) ([b36da6c](b36da6c)), closes [#3791](#3791)
* Bump svgo from 3.3.2 to 3.3.3 (#3770) ([5de7d51](5de7d51)), closes [#3770](#3770)
* Bump tar and npm (#3772) ([7a6981f](7a6981f)), closes [#3772](#3772)
* Bump tar and semantic-release (#3751) ([fb61128](fb61128)), closes [#3751](#3751)
* Bump underscore from 1.13.7 to 1.13.8 (#3769) ([68b9654](68b9654)), closes [#3769](#3769)
* Bump undici and @actions/http-client (#3780) ([a908d05](a908d05)), closes [#3780](#3780)

### Fix

* Bumping core to v6.73.1 automatically via 'frameworkpullrequest' Github action (#3755) ([85fc56b](85fc56b)), closes [#3755](#3755)
* Bumping core to v6.74.0 automatically via 'frameworkpullrequest' Github action (#3756) ([bc3cfbd](bc3cfbd)), closes [#3756](#3756)
* Bumping core to v6.75.0 automatically via 'frameworkpullrequest' Github action (#3763) ([d68dd7d](d68dd7d)), closes [#3763](#3763)
* Fail fast when multiple themes are active in a build (fixes #3784) (#3785) ([09720b9](09720b9)), closes [#3784](#3784) [#3785](#3785)
* Implement semantic-release-config, fix broken automated releases (fixes #3774) (#3775) ([bb20081](bb20081)), closes [#3774](#3774) [#3775](#3775)
* Treat empty includes/excludes arrays as unset (#3787) ([d05239f](d05239f)), closes [#3787](#3787)

### Update

* Bump adapt-migrations version in package-lock.json (fix #3752) ([5096e30](5096e30)), closes [#3752](#3752)
* Skip timestamp updates in development builds (fix #3706) #3764 ([827edb0](827edb0)), closes [#3706](#3706) [#3764](#3764)
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 5.56.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

dependencies javascript Pull requests that update javascript code released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant