Vulnerabilities/

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:

References

Related Issues

Tags:
npm
eta
Anything's wrong? Let us know Last updated on February 07, 2023

This issue is available in SmartScanner Professional

See Pricing