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-2021-41269 Vulnerability in maven package com.cronutils:cron-utils
CVE-2021-46708 Vulnerability in maven package org.webjars.bower:swagger-ui
CVE-2022-36313 Vulnerability in npm package file-type
CVE-2016-1000340 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2017-18354 Vulnerability in npm package rendertron-middleware