Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. set-in
  4. ›
  5. GHSA-2c4m-g7rx-63q7

GHSA-2c4m-g7rx-63q7: set-in Affected by Prototype Pollution

February 11, 2026

A prototype pollution vulnerability exists in the the npm package set-in (>=2.0.1). Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using Array.prototype. This has been fixed in version 2.0.5.

References

  • github.com/advisories/GHSA-2c4m-g7rx-63q7
  • github.com/ahdinosaur/set-in
  • github.com/ahdinosaur/set-in/commit/34842cc02de3fd65d6f8bd0b268347e7b390125b
  • github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24
  • github.com/ahdinosaur/set-in/commit/d87c1a09fa2edb55cd76440a67d83d1cb828df11
  • github.com/ahdinosaur/set-in/pull/6
  • github.com/ahdinosaur/set-in/security/advisories/GHSA-2c4m-g7rx-63q7

Code Behaviors & Features

Detect and mitigate GHSA-2c4m-g7rx-63q7 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.1 before 2.0.5

Fixed versions

  • 2.0.5

Solution

Upgrade to version 2.0.5 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/set-in/GHSA-2c4m-g7rx-63q7.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Feb 2026 12:18:55 +0000.