{"id":"GHSA-xrh7-m5pp-39r6","summary":"XSS Attack with Express API","details":"### 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","aliases":["CVE-2023-23630"],"modified":"2023-11-08T04:11:41.918090Z","published":"2023-01-31T22:39:40Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-01-31T22:39:40Z","nvd_published_at":"2023-02-01T01:15:00Z","cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23630"},{"type":"WEB","url":"https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd"},{"type":"PACKAGE","url":"https://github.com/eta-dev/eta"},{"type":"WEB","url":"https://github.com/eta-dev/eta/releases/tag/v2.0.0"}],"affected":[{"package":{"name":"eta","ecosystem":"npm","purl":"pkg:npm/eta"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-xrh7-m5pp-39r6/GHSA-xrh7-m5pp-39r6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"}]}