{"id":"CVE-2021-23443","aliases":["EUVD-2021-1980","GHSA-55r9-7mf8-m382","SNYK-JS-EDGEJS-1579556"],"status":"published","title":"Cross-site Scripting (XSS)","description":"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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00906,"percentile":0.60287,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79","CWE-843"],"published":"2021-09-21T16:50:10Z","modified":"2026-10-20T10:54:32Z","fixes":[{"ecosystem":"npm","package":"edge.js","fixed_in":["5.3.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"edge.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.2"}]}]},{"source":"osv","ecosystem":"npm","package":"edge.js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.3.2"}]}]}],"products":[{"vendor":"adonisjs","product":"edge"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23443","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-55r9-7mf8-m382"},{"url":"https://github.com/edge-js/edge","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23443","title":"Cross-site Scripting (XSS)","description":"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.","status":"published","published":"2021-09-21T16:50:10.641Z","modified":"2024-09-16T22:09:33.398Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-1980","description":"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.","status":"published","published":"2021-09-21T16:50:10Z","modified":"2024-09-16T22:09:33Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:55:05.279117Z"}],"ghsa":[{"id":"GHSA-55r9-7mf8-m382","title":"Cross-site Scripting in edge.js","description":"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.","status":"published","published":"2021-09-22T20:36:46Z","modified":"2023-09-11T16:20:49Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-843"],"updated_at":"2026-11-02T14:37:03.916765Z"}],"nvd":[{"id":"CVE-2021-23443","description":"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.","status":"published","published":"2021-09-21T17:15:09.297Z","modified":"2026-06-17T03:38:46.313Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:06:58.933037Z"}],"osv":[{"id":"CVE-2021-23443","description":"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.","status":"published","published":"2021-09-21T17:15:09.297Z","modified":"2026-10-20T10:54:32.476567491Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-55r9-7mf8-m382","title":"Cross-site Scripting in edge.js","description":"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.","status":"published","published":"2021-09-22T20:36:46Z","modified":"2026-07-08T06:49:47.641734815Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-843"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
