Skip to content

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

HighCVSS 8.8 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
npm eta(npm) < 2.0.0 2.0.0
eta.js eta < 2.0.0 2.0.0

References