Eta vulnerable to Code Injection via templates rendered with user-defined data
- Severity:
- High
Description
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.
Recommendation
Update the eta package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.0.0
- Patched version(s): 2.0.0
References
Related Issues
- Parse Server vulnerable to brute force guessing of user sensitive data via search patterns - CVE-2022-36079
- @siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection - CVE-2026-31975
- React Editable Json Tree vulnerable to arbitrary code execution via function parsing - CVE-2022-36010
- lodash vulnerable to Code Injection via `_.template` imports key names - lodash-amd - CVE-2026-4800
You might also like:
- Tags:
- npm
- eta
Anything's wrong? Let us know Last updated on February 07, 2023


