Description
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).
Published: 2022-04-25
Score: 9.8 Critical
EPSS: 93.5% High
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-phwq-j96m-2c2q ejs template injection vulnerability
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T06:10:58.967Z

Reserved: 2022-04-12T00:00:00.000Z

Link: CVE-2022-29078

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-25T15:15:49.887

Modified: 2024-11-21T06:58:26.713

Link: CVE-2022-29078

cve-icon Redhat

Severity : Important

Publid Date: 2022-04-25T00:00:00Z

Links: CVE-2022-29078 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses