@graphql-tools/utils@7.9.1

Common package containing utils and types for GraphQL tools

Direct Vulnerabilities

Known vulnerabilities in the @graphql-tools/utils package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Prototype Pollution

@graphql-tools/utils is a Common package containing utils and types for GraphQL tools

Affected versions of this package are vulnerable to Prototype Pollution via the mergeDeep function, which fails to block reserved property keys such as __proto__, constructor, and prototype before recursively merging source objects into an output object. An attacker who controls a source object passed to mergeDeep can pollute Object.prototype, potentially affecting all objects in the process and enabling further exploitation.

How to fix Prototype Pollution?

Upgrade @graphql-tools/utils to version 12.0.1 or higher.

<12.0.1