ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable, template injection can be implemented through the configuration settings of the closeDelimiter parameter.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2023-29827 - Medium Severity Vulnerability
Vulnerable Library - ejs-2.6.1.tgz
Embedded JavaScript templates
Library home page: https://registry.npmjs.org/ejs/-/ejs-2.6.1.tgz
Path to dependency file: /cncjs/package.json
Path to vulnerable library: /node_modules/ejs/package.json
Dependency Hierarchy: - electron-builder-19.50.0.tgz (Root Library) - electron-builder-lib-19.50.0.tgz - :x: **ejs-2.6.1.tgz** (Vulnerable Library)
Found in HEAD commit: 1e1c2430fe76c2ac37b3e87b78806d8e72f1913a
Vulnerability Details
ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable, template injection can be implemented through the configuration settings of the closeDelimiter parameter.
Publish Date: 2023-05-04
URL: CVE-2023-29827
CVSS 3 Score Details (5.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.