Skip to main content

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

CVE-2022-36010

Severity High
Score 9.8/10

Summary

The package react-editable-json-tree prior to 2.2.2 is vulnerable to arbitrary code execution. This vulnerability exists in the default `onSubmitValueParser` prop which calls "parse.js".

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Advisory Timeline

  • Published