Skip to content
OpenAdvisories
High · 8.1 CVE-2022-25967 EUVD-2023-0508GHSA-mf6x-hrgr-658f

Eta vulnerable to Code Injection via templates rendered with user-defined data

Published Jan 30, 2023 · Updated Mar 27, 2025 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— eta < 2.0.0 2.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm eta < 2.0.0 2.0.0 GHSA-mf6x-hrgr-658f

References