CVE-2022-25967Eta.js Eta
High 8.8
Follow: this CVE · Eta.js · Eta.js Eta We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Jan 30, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Eta.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | eta |
< 2.0.0 |
2.0.0 |
npm install eta@2.0.0 |
Per OSV / GitHub Advisories (GHSA-mf6x-hrgr-658f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eta.js | eta | < 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Broken Link
- github.com Patch Third Party Advisory
- security.snyk.io Third Party Advisory