{"id":"GHSA-55r9-7mf8-m382","summary":"Cross-site Scripting in edge.js","details":"Edge is a logical and batteries included template engine for Node.js. This affects the package edge.js before 5.3.2. A type confusion vulnerability can be used to bypass input sanitization when the input to be rendered is an array (instead of a string or a SafeValue), even if `{{ }}` are used.","aliases":["CVE-2021-23443","SNYK-JS-EDGEJS-1579556"],"modified":"2026-07-08T06:49:47.641734815Z","published":"2021-09-22T20:36:46Z","database_specific":{"cwe_ids":["CWE-79","CWE-843"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-09-22T14:25:18Z","nvd_published_at":"2021-09-21T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23443"},{"type":"WEB","url":"https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21"},{"type":"PACKAGE","url":"https://github.com/edge-js/edge"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556"}],"affected":[{"package":{"name":"edge.js","ecosystem":"npm","purl":"pkg:npm/edge.js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-55r9-7mf8-m382/GHSA-55r9-7mf8-m382.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}