build(deps): bump lodash from 4.17.21 to 4.18.1 in /webapp#528
build(deps): bump lodash from 4.17.21 to 4.18.1 in /webapp#528dependabot[bot] wants to merge 1 commit intodevelopfrom
Conversation
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Greptile SummaryThis Dependabot PR bumps
Confidence Score: 4/5Not safe to merge as-is — the yarn.lock must be updated for the security fixes to take effect. The package.json version range is correct, but the yarn.lock file still pins lodash to 4.17.21. Because Yarn prioritises the lock file, the two security patches (prototype pollution and template code injection) will not be installed until the lock file is regenerated. This is a concrete P1 defect on the changed path. webapp/yarn.lock needs to be updated to resolve lodash to 4.18.1. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Developer runs yarn install] --> B{Does yarn.lock exist?}
B -- Yes --> C[Yarn reads webapp/yarn.lock]
C --> D[Resolves lodash → 4.17.21]
D --> E[❌ Installs lodash 4.17.21\nSecurity fixes NOT applied]
B -- No --> F[Yarn resolves from package.json\nlodash ^4.18.1]
F --> G[✅ Installs lodash 4.18.1\nSecurity fixes applied]
style E fill:#f88,stroke:#c00
style G fill:#8f8,stroke:#090
|
| "flag-icon-css": "^3.5.0", | ||
| "jwt-decode": "^3.1.2", | ||
| "lodash": "^4.17.21", | ||
| "lodash": "^4.18.1", |
There was a problem hiding this comment.
yarn.lock not updated — security fixes won't install
webapp/yarn.lock still resolves lodash to 4.17.21 (line 5057 of the lock file). When any developer runs yarn install, Yarn reads the lock file and installs the pinned 4.17.21, completely bypassing the ^4.18.1 range in package.json. This means the two security patches shipped in 4.18.0 — prototype pollution via constructor/prototype traversal in _.unset/_.omit (GHSA-f23m-r3pf-42rh) and code injection via imports keys in _.template (GHSA-r5fr-rjxr-66jc / CVE-2026-4800) — will not be applied until the lock file is regenerated.
Rule Used: When updating dependencies via automated PRs (like... (source)
Learnt From
ever-co/ever-traduora#478



Bumps lodash from 4.17.21 to 4.18.1.
Release notes
Sourced from lodash's releases.
Commits
cb0b9b9release(patch): bump main to 4.18.1 (#6177)75535f5chore: prune stale advisory refs (#6170)62e91bcdocs: remove n_ Node.js < 6 REPL note from README (#6165)59be2derelease(minor): bump to 4.18.0 (#6161)af63457fix: broken tests for _.template 879aaa91073a76fix: linting issues879aaa9fix: validate imports keys in _.templatefe8d32efix: block prototype pollution in baseUnset via constructor/prototype traversal18ba0a3refactor(fromPairs): use baseAssignValue for consistent assignment (#6153)b819080ci: add dist sync validation workflow (#6137)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
lodashfrom 4.17.21 to 4.18.1 in the webapp to bring in security patches and a modular build bug fix. No app code changes.lodashto 4.18.1._.unset/_.omitand code injection in_.template.ReferenceErrorin modular builds (template,fromPairs).Written for commit 51449cd. Summary will update on new commits.