@nocobase/plugin-workflow-javascript@2.0.16

Execute a piece of JavaScript in an isolated Node.js environment.

  • latest version

    2.1.33

  • latest non vulnerable version

  • first published

    5 months ago

  • latest version published

    15 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @nocobase/plugin-workflow-javascript package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Improper Control of Dynamically-Managed Code Resources

    @nocobase/plugin-workflow-javascript is an Execute a piece of JavaScript in an isolated Node.js environment.

    Affected versions of this package are vulnerable to Improper Control of Dynamically-Managed Code Resources via the console object passed into the sandbox context, which exposes host-realm stream objects such as console._stdout and console._stderr. An attacker can execute arbitrary code with root privileges by traversing the prototype chain to escape the sandbox and gain access to the host environment.

    How to fix Improper Control of Dynamically-Managed Code Resources?

    Upgrade @nocobase/plugin-workflow-javascript to version 2.0.28 or higher.

    <2.0.28