GHSA-jf85-cpcp-j695CriticalCVSS 9.1

Prototype Pollution in lodash

Published
July 10, 2019
Last Modified
August 12, 2025

🔗 CVE IDs covered (1)

📋 Description

Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.12 or later.

🎯 Affected products5

  • npm/lodash:< 4.17.12
  • npm/lodash-es:< 4.17.14
  • npm/lodash-amd:< 4.17.13
  • npm/lodash.defaultsdeep:< 4.6.1
  • rubygems/lodash-rails:< 4.17.12

🔗 References (11)