VDB
Sign up
HIGH8.8

GHSA-mf6x-hrgr-658f

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

Quick fix

GHSA-mf6x-hrgr-658f — eta: upgrade to the fixed version with the command below.

npm install eta@2.0.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/eta
Introduced in: 0Fixed in: 2.0.0
Fixnpm install eta@2.0.0

References