CVE-2022-25967

eta: Remote Code Execution by overwriting template engine configuration variables

Published Jan 30, 2023 CVSS 3.1 · 8.1 High EPSS 2.1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0508 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.
Github GHSA Github GHSA GHSA-mf6x-hrgr-658f Eta vulnerable to Code Injection via templates rendered with user-defined data
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Mar 27, 2025, 8:15 PM
Reserved
Feb 24, 2022, 11:58 AM
Status
Modified
Published
Jan 30, 2023, 5:15 AM
Modified
Jun 17, 2026, 4:34 AM
Severity
Moderate
Public date
Jan 30, 2023, 12:00 AM