Vulnerability library
Security checkApril 24, 2026

Immutable is vulnerable to Prototype Pollution

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

High severitynpmimmutable

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 is possible in immutable via the mergeDeep(), mergeDeepWith(), merge(), Map.toJS(), and Map.toObject() APIs.

Recommendation

Update the immutable package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 3.8.3 >= 4.0.0-rc.1, < 4.3.8 >= 5.0.0, < 5.1.5**
  • Patched version(s): **3.8.3 4.3.8 5.1.5**

References

Could your website be exposed too?

SmartScanner can check your website for Immutable is vulnerable to Prototype Pollution and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 24, 2026