Vulnerability library
Security checkFebruary 12, 2026

set-in Affected by Prototype Pollution

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmset-in

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the set-in package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 2.0.1, < 2.0.5
  • Patched version(s): 2.0.5

References

Could your website be exposed too?

SmartScanner can check your website for set-in Affected by Prototype Pollution and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 12, 2026