Skip to content
Heist/ feed
Back to feed
High

Prototype Pollution

Type: advisorySources: OSV

The package set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-25354
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:26 UTC · Revision 1

Source evidence

Prototype Pollution

core-osv · Original source

Published 17 Mar 2022, 11:20 UTC

The package set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)

osv:CVE-2022-25354
Complete source record
{
  "id": "4ea3a464227fdb38147185af976d48ce295d83973f285fca10b60ecb2be345ea",
  "url": "https://osv.dev/vulnerability/CVE-2022-25354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Prototype Pollution",
    "summary": "The package set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)",
    "evidence": "osv:CVE-2022-25354",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-25354",
      "aliases": [
        "CVE-2022-25354",
        "GHSA-6956-83fg-5wc5",
        "SNYK-JS-SETIN-2388571"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ahdinosaur/set-in",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "20e22da170a7bcba3cab6084e660ad913052d1da"
                },
                {
                  "fixed": "6bad255961d379e4b1f5fbc52ef9dc8420816f24"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:set-in_project:set-in:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6bad255961d379e4b1f5fbc52ef9dc8420816f24"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "1.1.1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25354.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.312637123Z",
      "provider": "osv",
      "references": [
        "https://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25354.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-25354",
        "https://snyk.io/vuln/SNYK-JS-SETIN-2388571",
        "https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24"
      ],
      "provider_metadata": {
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25354.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-25354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517354,
  "published_at": "2022-03-17T11:20:56.621+00:00"
}