GitHub Advisoryadvisory · npm

GHSA-gcqx-w48m-w2h4 deepmerge mergeObject() allows prototype poisoning of returned objects

LOW Published 2026-09-18 Modified 2026-10-27 Official page ↗
Aliases
CVE-2026-93753
Ecosystem
npm
Packages
deepmerge
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-1321
Reviewed
2026-10-27

Affected packages

• npm deepmerge: >= 4.2.0, <= 4.3.1 (no fix yet)

Description

deepmerge through 4.3.1 contains a prototype poisoning vulnerability in the mergeObject() function that fails to properly validate keys being written to target objects. Attackers can supply malicious source objects in merge operations to inject attacker-controlled properties into the returned object's prototype, causing applications to inherit unintended values when accessing properties without own-property checks.

Related

Alias · not in database (1)

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References