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
Could your website be exposed too?
SmartScanner can check your website for Eta vulnerable to Code Injection via templates rendered with user-defined data and gives you actionable findings to investigate.
Start a free scanRelated Issues
- lodash vulnerable to Code Injection via `_.template` imports key names - CVE-2026-4800
- @siteboon/claude-code-ui Vulnerable to Unauthenticated RCE via WebSocket Shell Injection - CVE-2026-31975
- Matrix-appservice-irc vulnerable to sql injection via roomIds argument - CVE-2022-3971
- Editor.js vulnerable to Code Injection - CVE-2022-23474


