Vulnerability library
Security checkAugust 05, 2025

js-toml Prototype Pollution Vulnerability

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

High severitynpmjs-toml

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 in js-toml allows a remote attacker to add or modify properties of the global Object.prototype by parsing a maliciously crafted TOML input.

Recommendation

Update the js-toml package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.0.2
  • Patched version(s): 1.0.2

References

Could your website be exposed too?

SmartScanner can check your website for js-toml Prototype Pollution Vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 05, 2025