VDB
Sign up
MEDIUM

GHSA-6c59-mwgh-r2x6

JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js

Quick fix

GHSA-6c59-mwgh-r2x6 — jsonpath: upgrade to the fixed version with the command below.

npm install jsonpath@1.2.0

Details

The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/jsonpath
Introduced in: 0Fixed in: 1.2.0
Fixnpm install jsonpath@1.2.0

References