Commit 1b80705
[S360] Fix CVE-2026-4800: Update lodash to 4.18.x (#2545)
* Fix CVE-2026-4800: Update lodash to 4.18.x
Updates lodash from 4.17.23 to 4.18.1 across all projects to fix
CVE-2026-4800 (Code Injection via _.template imports key names).
Updated lockfiles:
- Nodejs/Tests/MockProjects/reactappwithjestteststypescript
- Nodejs/Tests/MockProjects/NodeAppWithAngularTests
- Nodejs/Tests/MockProjects/reactappwithjesttestsjavascript
- Root package-lock.json
S360 KPI: [SFI-ES5.2] 1ES Open Source Vulnerabilities
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Use overrides instead of direct dependency for lodash fix
Move lodash ^4.18.1 from dependencies to overrides in all package.json
files. This forces the transitive dependency to resolve to the patched
version without adding lodash as a direct dependency.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a1f791e commit 1b80705
8 files changed
Lines changed: 65 additions & 15 deletions
File tree
- Nodejs/Tests/MockProjects
- NodeAppWithAngularTests
- reactappwithjesttestsjavascript
- reactappwithjestteststypescript
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
Lines changed: 47 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
0 commit comments