CVE-2022-25907
CRITICAL 9.8CVSS 3.1ts-deepmerge before 2.0.2 vulnerable to Prototype Pollution
The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.
- Published
- 9 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-7qqq-gh2f-wq76
- Sources
- NVDJSONOSV GHSA-7qqq-gh2f-wq76JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typescript_deep_merge_project | typescript_deep_mergecpe:2.3:a:typescript_deep_merge_project:typescript_deep_merge:*:*:*:*:*:node.js:*:* |
< 2.0.2 | 2.0.2 |
| OSV | npm | ts-deepmerge | < 2.0.2 | 2.0.2 |
References
- https://github.com/voodoocreation/ts-deepmerge/commit/9be5148773343c57be9de39728d6ead18eddf10b · Patch, Third Party Advisory, WEB
- https://github.com/voodoocreation/ts-deepmerge/releases/tag/2.0.2 · Release Notes, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-2959975 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25907 · ADVISORY
- https://github.com/voodoocreation/ts-deepmerge · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 9 Aug 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Aug 2022)