Retour à la veille

CVE-2026-46681

Publié : 21 juillet 2026
Modifié : 21 juillet 2026
Lien officiel NVD

Description détaillée

@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.

Références et Patchs