{"id":"CVE-2023-23630","aliases":["CVE-2023-23630","GHSA-xrh7-m5pp-39r6"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site (XSS) vulnerability with Express API in Eta","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","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`.","source":"cvelist"},{"lang":"en","text":"### Impact\nXSS attack - anyone using the Express API is impacted\n\n### Patches\nThe problem has been resolved. Users should upgrade to version 2.0.0.\n\n### Workarounds\nDon't pass user supplied data directly to `res.renderFile`. \n\n### References\n_Are there any links users can visit to find out more?_\nSee https://github.com/eta-dev/eta/releases/tag/v2.0.0","format":"markdown","source":"ghsa"}],"published":"2023-01-31T22:39:40.000Z","modified":"2026-06-17T05:37:37.550Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.0.0","status":"affected"}],"vendor":"eta-dev","product":"eta","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.0"}],"ecosystem":"npm","package":"eta","purl":"pkg:npm/eta","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.0"}],"vendor":"eta.js","product":"eta","cpe":"cpe:2.3:a:eta.js:eta:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eta-dev/eta/releases/tag/v2.0.0","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23630","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/eta-dev/eta","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-10T20:59:19.594Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-23630","url":"https://www.cve.org/CVERecord?id=CVE-2023-23630","licence":"CVE Terms of Use","modified":"2025-03-10T21:17:25.860Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xrh7-m5pp-39r6","url":"https://github.com/advisories/GHSA-xrh7-m5pp-39r6","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:41.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-23630","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23630","licence":"Public domain","modified":"2026-06-17T05:37:37.550Z"}],"updatedAt":"2026-11-25T22:58:21.784Z","epss":{"score":0.00874,"percentile":0.56682,"date":"2026-11-30T12:00:22.000Z"}}