voodoocreation/ts-deepmerge
Releases33
Frequency2 months 1 week
Last Release
Stars146
A TypeScript deep merge function with automatically inferred types.
CVE History
| CVE | Affected | Published | CVSS v3 | CVSS v2 |
|---|---|---|---|---|
| < 8.0.0 | 5.3 MEDIUM | — | ||
Versions of the package ts-deepmerge before 8.0.0 are vulnerable to Uncaught Exception due to the improper handling of built-in Object.prototype methods (such as toString, valueOf). When user-controlled input contains these keys with non-function values, the resulting merged object becomes broken — any string context operation throws a TypeError, crashing the application. | ||||
| < 2.0.2 | 7.5 HIGH | — | ||
The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function. | ||||