{"id":"CVE-2023-23630","published":"2023-02-01T00:38:29Z","modified":"2025-03-10T21:17:25Z","title":"Cross-site (XSS) vulnerability with Express API in Eta","vendor":"eta-dev","product":"eta","tier":"tail","description":{"text":"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`. \n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00642,"percentile":0.51741,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/eta-dev/eta/releases/tag/v2.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":10.35},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"eta-dev","affectedVersions":[{"vendor":"eta-dev","product":"eta","versions":["< 2.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T20:59:19.594118Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"eta","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-xrh7-m5pp-39r6"],"provenance":"source"}],"summary":{"text":"The Eta embedded JavaScript templating engine, used within Node, Deno, and browser environments, contains a cross-site scripting flaw affecting its Express API integration, where user-supplied input passed directly to res.render is not properly neutralised. An attacker with network access and no authentication or user interaction can inject script into rendered web pages, and the flaw is triggered whenever an application using the Express API passes untrusted data to res.render.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:59Z"},"euvd":{"id":"EUVD-2023-0593","exploited":false,"provenance":"source"}}