React Editable Json Tree vulnerable to arbitrary code execution via function parsing
- Severity:
- High
Description
Our library allows strings to be parsed as functions and stored as a specialized component, JsonFunctionValue. To do this, Javascript’s eval function was used to execute strings that begin with “function” as Javascript.
Recommendation
Update the react-editable-json-tree package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.2.2
- Patched version(s): 2.2.2
References
Related Issues
- Joplin is vulnerable to arbitrary code execution - CVE-2022-35131
- react-dev-utils on Windows vulnerable to Remote Code Execution - CVE-2018-6342
- Eta vulnerable to Code Injection via templates rendered with user-defined data - CVE-2022-25967
- Lobe Chat Desktop vulnerable to Remote Code Execution via XSS in Chat Messages - CVE-2025-59417
- Tags:
- npm
- react-editable-json-tree
Anything's wrong? Let us know Last updated on January 30, 2023