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/releases/tag/v2.0.0
https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd
https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6
Related Vulnerabilities
CVE-2023-0846 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2017-16198 Vulnerability in npm package ritp
CVE-2021-23353 Vulnerability in maven package org.webjars.npm:jspdf
CVE-2019-10753 Vulnerability in maven package com.diffplug.gradle.spotless:spotless-eclipse-cdt
CVE-2020-9484 Vulnerability in maven package org.apache.tomcat:tomcat-catalina