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
- Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type - CVE-2022-35948
- Matrix-appservice-irc vulnerable to sql injection via roomIds argument - CVE-2022-3971
- create-choo-app3 is vulnerable to Command Injection via the devInstall function - CVE-2022-25855
- Tags:
- npm
- eta
Anything's wrong? Let us know Last updated on February 07, 2023