Skip to content

Commit 11d894d

Browse files
sandeep3028meta-codesync[bot]
authored andcommitted
Upgrade lodash 4.17.21 → 4.18.1 (CVE-2026-4800) (#56603)
Summary: Pull Request resolved: #56603 Upgrade transitive dependency lodash from 4.17.21 to 4.18.1 to remediate CVE-2026-4800 (Improper Control of Generation of Code / Code Injection). - Added `"lodash": "4.18.1"` to `resolutions` in package.json to force all lodash ranges (including `~4.17.15`) to resolve to 4.18.1 - Updated yarn.lock entry to resolve all lodash ranges to 4.18.1 Without the resolution override, the `~4.17.15` range would stay at 4.17.21 (vulnerable) since `~` only allows patch-level updates and 4.18.1 is a minor bump. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D102273666 fbshipit-source-id: d3a17ba480b5d44c048b2b1d814bc3989abcd06a
1 parent 3d2d14d commit 11d894d

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
"react-is": "19.2.3",
124124
"on-headers": "1.1.0",
125125
"compression": "1.8.1",
126-
"@microsoft/api-extractor/minimatch": "3.1.4"
126+
"@microsoft/api-extractor/minimatch": "3.1.4",
127+
"lodash": "4.18.1"
127128
}
128129
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6506,10 +6506,10 @@ lodash.throttle@^4.1.1:
65066506
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
65076507
integrity sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==
65086508

6509-
lodash@^4.17.11, lodash@^4.17.19, lodash@^4.17.21, lodash@~4.17.15:
6510-
version "4.17.21"
6511-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
6512-
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
6509+
lodash@4.18.1, lodash@^4.17.11, lodash@^4.17.19, lodash@^4.17.21, lodash@~4.17.15:
6510+
version "4.18.1"
6511+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
6512+
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
65136513

65146514
log-symbols@^4.1.0:
65156515
version "4.1.0"

0 commit comments

Comments
 (0)