ejs@3.1.9 vulnerabilities

Embedded JavaScript templates

  • latest version

    3.1.10

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ejs package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

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

    ejs is a popular JavaScript templating engine.

    Affected versions of this package are vulnerable to Improper Control of Dynamically-Managed Code Resources due to the lack of certain pollution protection mechanisms. An attacker can exploit this vulnerability to manipulate object properties that should not be accessible or modifiable.

    Note:

    Even after updating to the fix version that adds enhanced protection against prototype pollution, it is still possible to override the hasOwnProperty method.

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

    Upgrade ejs to version 3.1.10 or higher.

    <3.1.10