Eta is an embedded JS templating engine that works inside Node, Deno, and the browser. XSS attack - anyone using the Express API is impacted. The problem has been resolved. Users should upgrade to version 2.0.0. As a workaround, don't pass user supplied things directly to `res.render`.
CVE-2023-23630 - 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 HEAD commit: 192998ddea4d547d046cbe07b44f337b3cf50eda
Found in base branch: master
Vulnerability Details
Eta is an embedded JS templating engine that works inside Node, Deno, and the browser. XSS attack - anyone using the Express API is impacted. The problem has been resolved. Users should upgrade to version 2.0.0. As a workaround, don't pass user supplied things directly to `res.render`.
Publish Date: 2023-02-01
URL: CVE-2023-23630
CVSS 3 Score Details (8.6)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6
Release Date: 2023-02-01
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