Versions of the package eta before 2.0.0 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.
CVE-2022-25967 - High Severity Vulnerability
Vulnerable Library - eta-1.12.1.tgz
Lightweight, fast, and powerful embedded JS template engine
Library home page: https://registry.npmjs.org/eta/-/eta-1.12.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/eta
Dependency Hierarchy: - preset-classic-2.0.0-beta.4.tgz (Root Library) - theme-search-algolia-2.0.0-beta.4.tgz - :x: **eta-1.12.1.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Versions of the package eta before 2.0.0 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.
Publish Date: 2023-01-30
URL: CVE-2022-25967
CVSS 3 Score Details (8.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2023-01-30
Fix Resolution (eta): 2.0.0
Direct dependency fix Resolution (@docusaurus/preset-classic): 2.3.1
Step up your Open Source Security Game with Mend here