npm json-ptr before 2.1.0 has an arbitrary code execution vulnerability. The issue occurs in the set operation when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.
{
"cwe_ids": [
"CWE-1321",
"CWE-400",
"CWE-74"
],
"github_reviewed": true,
"github_reviewed_at": "2021-04-19T23:01:34Z",
"nvd_published_at": "2020-11-10T16:15:00Z",
"severity": "HIGH"
}