Description
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`.
Remediation
References
https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd
https://github.com/eta-dev/eta/releases/tag/v2.0.0
https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6
Related Vulnerabilities
CVE-2020-26291 Vulnerability in npm package urijs
CVE-2018-11697 Vulnerability in npm package node-sass
CVE-2022-0265 Vulnerability in maven package com.hazelcast:hazelcast
CVE-2021-21120 Vulnerability in maven package org.webjars.npm:electron
CVE-2021-30246 Vulnerability in maven package org.webjars.npm:jsrsasign