@happy-dom/server-renderer@19.0.0 vulnerabilities

Use Happy DOM for server-side rendering (SSR) or as a static site generator (SSG).

  • latest version

    20.0.10

  • latest non vulnerable version

  • first published

    1 months ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @happy-dom/server-renderer 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
    Arbitrary Code Injection

    @happy-dom/server-renderer is an Use Happy DOM for server-side rendering (SSR) or as a static site generator (SSG).

    Affected versions of this package are vulnerable to Arbitrary Code Injection due to default evaluation of code from strings. An attacker can execute arbitrary code on the host system by running untrusted JavaScript code that escapes the intended sandbox and gains access to process-level functionality. Additionally, if the process is executed with CommonJS, the attacker can get hold of the require() function to import modules.

    How to fix Arbitrary Code Injection?

    Upgrade @happy-dom/server-renderer to version 20.0.0 or higher.

    <20.0.0