VDB
Sign up
MEDIUM5.3

GHSA-g452-6rfc-vrvx

Prototype Pollution in open-graph

Quick fix

GHSA-g452-6rfc-vrvx — open-graph: upgrade to the fixed version with the command below.

npm install open-graph@0.2.6

Details

This affects the package open-graph before 0.2.6. The function parse could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor payload.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/open-graph
Introduced in: 0Fixed in: 0.2.6
Fixnpm install open-graph@0.2.6

References