Description
@std/toml is the Deno Standard Library. Prior to version 1.0.9, an attacker can pollute the prototype chain in Node.js runtime and Browser when parsing untrusted TOML data, thus achieving Prototype Pollution (PP) vulnerability. This is because the library is merging an untrusted object with an empty object, which by default the empty object has the prototype chain. This issue has been patched in version 1.0.9.
Problem types
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Product status
References
github.com/...nd/std/security/advisories/GHSA-crjp-8r9q-2j9r
github.com/...ommit/540662cfd6d71e969af292aa604ef4049dbe271b
github.com/denoland/std/releases/tag/release-2025.08.13