Skip to content
Heist/ feed
Back to feed
High

Prototype Pollution

Type: advisorySources: OSV

The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-25907
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:56 UTC · Revision 1

Source evidence

Prototype Pollution

core-osv · Original source

Published 9 Aug 2022, 05:00 UTC

The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.

osv:CVE-2022-25907
Complete source record
{
  "id": "4d61ff926d20f130e6f9665bab8abc99d291185339dc2f66a922e4cbdb397d48",
  "url": "https://osv.dev/vulnerability/CVE-2022-25907",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prototype Pollution",
    "summary": "The package ts-deepmerge before 2.0.2 are vulnerable to Prototype Pollution due to missing sanitization of the merge function.",
    "evidence": "osv:CVE-2022-25907",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-25907",
      "aliases": [
        "CVE-2022-25907",
        "GHSA-7qqq-gh2f-wq76"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/voodoocreation/ts-deepmerge",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9be5148773343c57be9de39728d6ead18eddf10b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "SplitRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9be5148773343c57be9de39728d6ead18eddf10b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.0.2"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9be5148773343c57be9de39728d6ead18eddf10b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:typescript_deep_merge_project:typescript_deep_merge:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.1",
            "2.0.0",
            "1.1.0",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25907.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.297319182Z",
      "provider": "osv",
      "references": [
        "https://github.com/voodoocreation/ts-deepmerge/releases/tag/2.0.2",
        "https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-2959975",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25907.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-25907",
        "https://github.com/voodoocreation/ts-deepmerge/commit/9be5148773343c57be9de39728d6ead18eddf10b"
      ],
      "provider_metadata": {
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25907.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-25907",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497064,
  "published_at": "2022-08-09T05:00:17.639+00:00"
}