CVE-2018-3721
Prototype Pollution in lodash
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
CVE-2018-3721- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:P/A:N - Weakness
- CWE-471, CWE-1321
- Updated
- 2026-11-02
CVE List No score
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
CVE-2018-3721- Weakness
- CWE-471
- Updated
- 2026-11-02
EUVDEUVD-2018-0265 No score
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
EUVD-2018-0265- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fvqr-27wr-82fm
6.5
Prototype Pollution in lodash
Versions of lodash before 4.17.5 are vulnerable to prototype pollution.
The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object via __proto__ causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.17.5 or later.
- Record
GHSA-fvqr-27wr-82fm- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-471, CWE-1321
- Updated
- 2026-11-02
OSVAZL-45420
6.5
CVE-2018-3721 affecting package js-jquery 3.5.0-4
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
AZL-45420- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSV
6.5
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
CVE-2018-3721- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2018-3721
6.5
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
DEBIAN-CVE-2018-3721- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-fvqr-27wr-82fm
6.5
Prototype Pollution in lodash
Versions of lodash before 4.17.5 are vulnerable to prototype pollution.
The vulnerable functions are 'defaultsDeep', 'merge', and 'mergeWith' which allow a malicious user to modify the prototype of Object via __proto__ causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.17.5 or later.
- Record
GHSA-fvqr-27wr-82fm- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-1321, CWE-471
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-3721
6.5
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
- Record
UBUNTU-CVE-2018-3721- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1773188140 No score
TuxCare security update for lodash (5 CVEs)
TuxCare rebuilt lodash to address 5 CVEs. Fixed in 3.10.1-tuxcare.2.
- Record
CLSA-2026-1773188140- Updated
- 2026-11-02
OSVCLSA-2026-1775262599 No score
TuxCare security update for 11 packages (4 CVEs)
TuxCare rebuilt 11 packages to address 4 CVEs. Fixed in 3.2.0-tuxcare.1.
- Record
CLSA-2026-1775262599- Updated
- 2026-11-02
OSVCLSA-2026-1775262601 No score
TuxCare security update for lodash (4 CVEs)
TuxCare rebuilt lodash to address 4 CVEs. Fixed in 1.3.1-tuxcare.1.
- Record
CLSA-2026-1775262601- Updated
- 2026-11-02
OSVCLSA-2026-1775262602 No score
TuxCare security update for lodash (4 CVEs)
TuxCare rebuilt lodash to address 4 CVEs. Fixed in 2.4.2-tuxcare.1.
- Record
CLSA-2026-1775262602- Updated
- 2026-11-02
OSVCLSA-2026-1777336764 No score
TuxCare security update for lodash (6 CVEs)
TuxCare rebuilt lodash to address 6 CVEs. Fixed in 4.18.1-tuxcare.1.
- Record
CLSA-2026-1777336764- Updated
- 2026-11-02
OSVCLSA-2026-1784250516 No score
TuxCare security update for lodash (1 CVE)
TuxCare rebuilt lodash to address 1 CVE. Fixed in 4.17.4-tuxcare.1.
- Record
CLSA-2026-1784250516- Updated
- 2026-11-02
OSVCLSA-2026-1791290323 No score
TuxCare security update for lodash (3 CVEs)
TuxCare rebuilt lodash to address 3 CVEs. Fixed in 2.3.0-tuxcare.1.
- Record
CLSA-2026-1791290323- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lodashnpm |
before 4.17.5 | 4.17.5 |
lodash-railsRubyGems |
before 4.17.5 | 4.17.5 |
js-jqueryAzure Linux:3 |
through 3.5.0-4 | None known |
lodashTuxCare:npm |
3.10.1-tuxcare.0 up to 3.10.1-tuxcare.2, plus listed versions 3.10.13.10.1-tuxcare.1 |
3.10.1-tuxcare.2 |
lodashTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash._basematchesTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash._createwrapperTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.endswithTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.escapeTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.isplainobjectTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
lodash.parseintTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.startswithTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.unescapeTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.uniqueidTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodash.wordsTuxCare:npm |
3.2.0-tuxcare.0 up to 3.2.0-tuxcare.1, plus listed versions 3.2.0 |
3.2.0-tuxcare.1 |
lodashTuxCare:npm |
1.3.1-tuxcare.0 up to 1.3.1-tuxcare.1, plus listed versions 1.3.1 |
1.3.1-tuxcare.1 |
lodashTuxCare:npm |
2.4.2-tuxcare.0 up to 2.4.2-tuxcare.1, plus listed versions 2.4.2 |
2.4.2-tuxcare.1 |
lodashTuxCare:npm |
4.18.1-tuxcare.0 up to 4.18.1-tuxcare.1, plus listed versions 4.18.1 |
4.18.1-tuxcare.1 |
lodashTuxCare:npm |
4.17.4-tuxcare.0 up to 4.17.4-tuxcare.1, plus listed versions 4.17.4 |
4.17.4-tuxcare.1 |
lodashTuxCare:npm |
2.3.0-tuxcare.0 up to 2.3.0-tuxcare.1, plus listed versions 2.3.0 |
2.3.0-tuxcare.1 |
node-lodashDebian:12 |
before 4.17.11+dfsg-1 | 4.17.11+dfsg-1 |
node-lodashDebian:13 |
before 4.17.11+dfsg-1 | 4.17.11+dfsg-1 |
node-lodashDebian:14 |
before 4.17.11+dfsg-1 | 4.17.11+dfsg-1 |
lodash-railsRubyGems |
before 4.17.5, plus listed versions 0.10.00.7.00.8.10.8.20.9.0 Show 45 moreShow less0.9.10.9.21.0.0.rc.11.0.0.rc.21.0.0.rc.31.0.11.1.01.1.11.2.01.2.11.3.12.0.02.1.02.2.02.2.12.3.02.4.02.4.13.1.03.10.03.10.13.2.03.3.03.3.13.3.1.13.4.03.5.03.6.03.7.03.9.34.0.04.11.24.12.04.13.14.14.14.15.04.16.14.16.34.16.44.16.64.17.24.17.44.3.04.5.14.6.1 |
4.17.5 |
node-lodashUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.4.1+dfsg-32.4.1+dfsg-3ubuntu0.1~esm1 |
None known |
node-lodashUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.17.4+dfsg-14.17.4+dfsg-1ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-3721 is a medium vulnerability (CVSS 6.5) in Hackerone Lodash Node Module, published June 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.35%, the 83rd percentile. Fixed in lodash 4.17.5.
References
hackerone.com/reports/310443
github.com/lodash/lodash/commit/d8e069cc3410082e44eb18fcf8e7f3d08ebe1d4a
security.netapp.com/advisory/ntap-20190919-0004
nvd.nist.gov/vuln/detail/CVE-2018-3721
github.com/rubysec/ruby-advisory-db/blob/master/gems/lodash-rails/CVE-2018-3721.yml
github.com/advisories/GHSA-fvqr-27wr-82fm