VDB
Sign up
HIGH8.6

GHSA-xrh7-m5pp-39r6

XSS Attack with Express API

Quick fix

GHSA-xrh7-m5pp-39r6 — eta: upgrade to the fixed version with the command below.

npm install eta@2.0.0

Details

### Impact XSS attack - anyone using the Express API is impacted

### Patches The problem has been resolved. Users should upgrade to version 2.0.0.

### Workarounds Don't pass user supplied data directly to `res.renderFile`.

### References _Are there any links users can visit to find out more?_ See https://github.com/eta-dev/eta/releases/tag/v2.0.0

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