NetSight
high8.8

CVE-2022-25967

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

Impact

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 packages

EcosystemPackageAffectedFixed in
npmeta< 2.0.02.0.0

Affected products

VendorProductAffected versions
Eta.JsEta
before 2.0.0

Weakness classification

References