CVE-2026-46681 Details
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.
A prototype pollution vulnerability has been identified in the @nevware21/ts-utils library, affecting versions through 0.13.0. The issue arises in the _copyProps function, which improperly uses a for...in loop to iterate over object properties without verifying ownership with Object.hasOwnProperty. This oversight allows inherited properties, including dangerous keys like __proto__, constructor, and prototype, to be manipulated. As a result, an attacker can pollute the prototype chain of all objects within the application.
Users are advised to update to version 0.14.0, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 21, 2026CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nevware21/ts-utils/security/advisories/GHSA-x7j8-49r8-mr43 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/nevware21/ts-utils/commit/5e887f4e2fbee7160c8f501634c45e6a229e83bb | [email protected] | Source CodeVendor |
| https://github.com/nevware21/ts-utils/security/advisories/GHSA-x7j8-49r8-mr43 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nevware21/ts-utils | <= 0.13.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |
Volerion