Advisories · Node.js & Next.js
CVE-2020-8203
High
CVSS 7.4
lodash prototype pollution
Disclosed 2020 · Last reviewed 2 Dec 2026
zipObjectDeep could set Object.prototype and change application behavior.
What happened
A path key was assigned without rejecting __proto__.
Affected and patched versions
- Affected
- lodash before 4.17.16.
- Patched
- lodash 4.17.16 and later. 4.17.21 also clears later bugs.
How to check your server
Check
npm ls lodash
How to fix and harden
- Upgrade lodash. Prefer 4.17.21 so the later template bug is gone too.
Fix
npm ls lodash
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON