CVE-2022-25907 json
Prototype Pollution
published 2022-08-09 4 y ago modified 2026-06-17 4 mo ago also GHSA-7qqq-gh2f-wq76 , EUVD-2022-6507
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.
Patch / fix
- npm ts-deepmerge 2.0.2
- n/a ts-deepmerge 2.0.2
Exploit prediction
1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-2959975 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ts-deepmerge | <2.0.2 |
2.0.2 |
Affected products
- n/a ts-deepmerge
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/voodoocreation/ts-deepmerge/commit/9be5148773343c57be9de39728d6ead18eddf10b
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JS-TSDEEPMERGE-2959975
web, exploit, patch, third-party-advisory
-
github.com
/voodoocreation/ts-deepmerge/releases/tag/2.0.2
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25907
advisory
-
github.com
/voodoocreation/ts-deepmerge
package
Sources
- CVE List CVE-2022-25907
- GitHub Advisory GHSA-7qqq-gh2f-wq76
- NVD CVE-2022-25907
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.