CVE-2022-29078

    Dashboard / Vulnerabilities / CVE-2022-29078

    CVE-2022-29078

    Published: 25 Apr 2022Last Modified: 12 Aug 2026

    Summary:

    Details: The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 80bf3d7dcc20dffa38686a58b4e0ba70d5cac8a1
    Fixed -None

    Affected versions

    3.1.6

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-29078 | CVE-DB