Vulnerabilities in pkg:npm/lodash-amd

PACKAGE
Advisory Identifier: GHSA-xxjr-mmjv-4gpg
Advisory Summary

CVE-2025-13465 is a MODERATE (CVSS 6.5) lodash has prototype pollution vulnerability vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Lodash libraries in the npm ecosystem. The issue involves lodash has prototype pollution vulnerability in `_.unset` and `_.omit` functions. Remediation is available by upgrading affected packages to version 4.17.23.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/lodash-amd

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/lodash-amd. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xxjr-mmjv-4gpg CVE-2025-13465 MODERATE Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions
GHSA-r5fr-rjxr-66jc CVE-2026-4800 HIGH lodash vulnerable to Code Injection via `_.template` imports key names
GHSA-f23m-r3pf-42rh CVE-2026-2950 MODERATE lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`
GHSA-x5rq-j2xg-h7qm CVE-2019-1010266 MODERATE Regular Expression Denial of Service (ReDoS) in lodash
GHSA-jf85-cpcp-j695 CVE-2019-10744 CRITICAL Prototype Pollution in lodash

CVE-2025-13465 at a Glance

CVE Identifier CVE-2025-13465
GHSA Identifier GHSA-xxjr-mmjv-4gpg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Lodash
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-13465

To remediate this vulnerability, upgrade all affected Lodash dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

lodash fixed: 4.17.23
npm install lodash@4.17.23
lodash.unset fixed: Latest secure release
npm install lodash.unset@Latest secure release
lodash-es fixed: 4.17.23
npm install lodash-es@4.17.23
lodash-amd fixed: 4.17.23
npm install lodash-amd@4.17.23
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls lodash

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-13465, inspect your project dependencies using npm:

npm ls lodash

Analyze the terminal output to locate any version of Lodash in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.17.23), your application is affected.

Note: The npm ls lodash command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Lodash, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Lodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the `_.unset` and `_.omit` functions. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes. The issue permits deletion of properties but does not allow overwriting their original behavior. ### Patches This issue is patched on 4.17.23.

CVE-2025-13465 Affected Lodash Versions

4 component(s)
Fixed Versions:
4.17.23
Product / Package Ecosystem Affected Versions Fixed Version
lodash
npm
≥ 4.0.0
< 4.17.23
4.17.23
lodash.unset
npm
≥ 4.0.0
≤ 4.5.2
lodash-es
npm
≥ 4.0.0
< 4.17.23
4.17.23
lodash-amd
npm
≥ 4.0.0
< 4.17.23
4.17.23

References

Frequently Asked Questions

What is CVE-2025-13465?
CVE-2025-13465 is a security vulnerability in Lodash involving Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Lodash versions are affected?
Affected versions include releases prior to 4.17.23 across affected packages: lodash, lodash.unset, lodash-es, lodash-amd.
What version fixes CVE-2025-13465?
Upgrading to 4.17.23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is lodash affected?
Yes, lodash is affected in releases prior to 4.17.23. Upgrade your dependency to 4.17.23 or later.
Is lodash.unset affected?
Yes, lodash.unset is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-13465?
CVE-2025-13465 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2025-13465?
CVE-2025-13465 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2025-13465?
Run the dependency tree command: 'npm ls lodash'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xxjr-mmjv-4gpg",
  "modified" : "2026-06-09T10:56:34Z",
  "published" : "2026-01-21T23:01:22Z",
  "aliases" : [ "CVE-2025-13465" ],
  "summary" : "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions",
  "details" : "### Impact\n\nLodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the `_.unset` and `_.omit` functions. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes. \n\nThe issue permits deletion of properties but does not allow overwriting their original behavior.  \n\n### Patches\n\nThis issue is patched on 4.17.23.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lodash"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.17.23"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.17.22"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lodash.unset"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "last_affected" : "4.5.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lodash-es"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.17.23"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.17.22"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "lodash-amd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.17.23"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.17.22"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13465"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lodash/lodash/commit/edadd452146f7e4bad4ea684e955708931d84d81"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-253495.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lodash/lodash"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-21T23:01:22Z",
    "nvd_published_at" : "2026-01-21T20:16:05Z"
  }
}