{"id":"CVE-2021-23443","aliases":["CVE-2021-23443","GHSA-55r9-7mf8-m382","SNYK-JS-EDGEJS-1579556"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta al paquete edge.js versiones anteriores a 5.3.2. Puede ser  usada una vulnerabilidad de confusión de tipo para omitir el saneamiento de entradas cuando la entrada que se va a representar es una matriz (en lugar de una cadena o un SafeValue), incluso si se usan {{ }}","source":"nvd"}],"published":"2021-09-21T16:50:10.641Z","modified":"2026-07-08T06:49:47.641Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-843"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.3.2","status":"affected"}],"product":"edge.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.3.2"}],"ecosystem":"npm","package":"edge.js","purl":"pkg:npm/edge.js","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.3.2"}],"vendor":"adonisjs","product":"edge","cpe":"cpe:2.3:a:adonisjs:edge:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23443","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/edge-js/edge","tags":["package"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23443","url":"https://www.cve.org/CVERecord?id=CVE-2021-23443","licence":"CVE Terms of Use","modified":"2024-09-16T22:09:33.398Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-55r9-7mf8-m382","url":"https://github.com/advisories/GHSA-55r9-7mf8-m382","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:47.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23443","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23443","licence":"Public domain","modified":"2026-06-17T03:38:46.313Z"}],"updatedAt":"2026-11-25T22:58:04.089Z","epss":{"score":0.00906,"percentile":0.60909,"date":"2026-12-01T12:00:22.000Z"}}