Vulnerability library
Security checkMarch 31, 2025

depath and cool-path vulnerable to Prototype Pollution via `set()` Method

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

High severitynpmcool-path

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

janryWang products depath v1.0.6 and cool-path v1.1.2 were discovered to contain a prototype pollution via the set() method at setIn (lib/index.js:90). This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 1.1.2

References

Could your website be exposed too?

SmartScanner can check your website for depath and cool-path vulnerable to Prototype Pollution via `set()` Method and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 31, 2025