Skip to content
OpenAdvisories
High · 7.2 CVE-2026-46681 EUVD-2026-46260GHSA-x7j8-49r8-mr43

@nevware21/ts-utils: Prototype Pollution in objDeepCopy/objCopyProps via for...in without hasOwnProperty

Published Jul 21, 2026 · Updated Jul 21, 2026 · Assigned by GitHub_M

Description

@nevware21/ts-utils is a comprehensive TypeScript/JavaScript utility library. Prior to version 0.14.0, the _copyProps function in lib/src/object/copy.ts uses for...in to iterate over source object properties without an Object.hasOwnProperty check, and does not filter dangerous keys (__proto__, constructor, prototype). This allows an attacker to pollute the prototype chain of all objects in the application. Version 0.14.0 patches the issue.

Affected products

VendorProductAffectedFixed
nevware21 ts-utils < 0.14.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nevware21/ts-utils < 0.14.0 0.14.0 GHSA-x7j8-49r8-mr43

References