eta@1.3.0 vulnerabilities

Lightweight, fast, and powerful embedded JS template engine

  • latest version

    3.5.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    4 months ago

  • licenses detected

    • >=1.0.0-beta.0
  • Direct Vulnerabilities

    Known vulnerabilities in the eta 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
    Cross-site Scripting (XSS)

    eta is a Lightweight, fast, and powerful embedded JS template engine

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via renderFile function, due to improper user-input sanitization.

    How to fix Cross-site Scripting (XSS)?

    Upgrade eta to version 2.0.0 or higher.

    <2.0.0
    • H
    Remote Code Execution (RCE)

    eta is a Lightweight, fast, and powerful embedded JS template engine

    Affected versions of this package are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API.

    Note: This is exploitable only for users who are rendering templates with user-defined data.

    How to fix Remote Code Execution (RCE)?

    Upgrade eta to version 2.0.0 or higher.

    <2.0.0