Code injection in eta
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | eta | before 2.0.0 | 2.0.0 | Patch available | CNA |
| — | eta (npm) | before 2.0.0 | 2.0.0 | Patch available | GHSA-mf6x-hrgr-658f |
- eta Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
- eta (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-mf6x-hrgr-658f
Remediation
- Fix · CNA eta Fixed in 2.0.0
- Fix · GHSA-mf6x-hrgr-658f eta (npm) Fixed in 2.0.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Developer Tools and Services | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25967
- 2026-10-03 Alias added: GHSA-mf6x-hrgr-658f
References
More Eta.js Eta vulnerabilities
- TI-2023-09459 Cross-site (XSS) vulnerability with Express API in Eta CVSS 3.1HIGH 8.6
Sources
- CVE-2022-25967 · CVE Program
- CVE-2022-25967 · NVD
- FIRST EPSS
- GHSA-mf6x-hrgr-658f · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25967 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences