cvedb.io
CVE-2022-36010
CRITICAL · CVSS 10
EPSS exploitation probability: 0%
Published 2022-08-15T19:15:09.207 · Last modified 2026-06-17T04:52:44.037

Summary

This library allows strings to be parsed as functions and stored as a specialized component, [`JsonFunctionValue`](https://github.com/oxyno-zeta/react-editable-json-tree/blob/09a0ca97835b0834ad054563e2fddc6f22bc5d8c/src/components/JsonFunctionValue.js). To do this, Javascript's [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) function is used to execute strings that begin with "function" as Javascript. This unfortunately could allow arbitrary code to be executed if it exists as a value within the JSON structure being displayed. Given that this component may often be used to display data from arbitrary, untrusted sources, this is extremely dangerous. One important note is that users who have defined a custom [`onSubmitValueParser`](https://gith

Affected products

react_editable_json_tree_project — react_editable_json_tree

Does this affect you?

Add your gear to cvedb and we'll alert you only when react_editable_json_tree_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.