Eta is an embedded JS templating engine that works inside Node, Deno, and the browser. XSS attack - anyone using the Express API is impacted. The problem has been resolved. Users should upgrade to version 2.0.0. As a workaround, don't pass user supplied things directly to `res.render`.
References
Link | Resource |
---|---|
https://github.com/eta-dev/eta/releases/tag/v2.0.0 | Release Notes Third Party Advisory |
https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd | Patch Third Party Advisory |
https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6 | Third Party Advisory |
Configurations
Information
Published : 2023-01-31 17:15
Updated : 2023-02-07 17:27
NVD link : CVE-2023-23630
Mitre link : CVE-2023-23630
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
eta.js
- eta