Eval Injection Affecting react-editable-json-tree package, versions <2.2.2
Threat Intelligence
EPSS
0.21% (59th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-REACTEDITABLEJSONTREE-2982182
- published 16 Aug 2022
- disclosed 16 Aug 2022
- credit Phanabani, Havrileck Alexandre
Introduced: 16 Aug 2022
CVE-2022-36010 Open this link in a new tabHow to fix?
Upgrade react-editable-json-tree
to version 2.2.2 or higher.
Overview
react-editable-json-tree is a React Editable Json Tree
Affected versions of this package are vulnerable to Eval Injection due to missing sanitization of values within the JSON
structure being displayed.
Note:
In order to fully mitigate this vulnerability user must set the JsonTree
component's allowFunctionEvaluation
prop to false
Users who have defined a custom onSubmitValueParser
callback prop on the JsonTree
component are unaffected.
References
CVSS Scores
version 3.1