Description
js-toml is a TOML parser for JavaScript, fully compliant with the TOML 1.0.0 Spec. In versions below 1.0.2, 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. This is fixed in version 1.0.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sunnyadn | js-toml | < 1.0.2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | js-toml | < 1.0.2 | 1.0.2 | GHSA-65fc-cr5f-v7r2 |