Vulnerability library
Security checkFebruary 07, 2023

Eta vulnerable to Code Injection via templates rendered with user-defined data

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmeta

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated February 07, 2023