{"id":"CVE-2021-23443","published":"2021-09-21T16:50:10Z","modified":"2024-09-16T22:09:33Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00906,"percentile":0.57882,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556","tags":["x_refsource_MISC"]},{"url":"https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":11.58},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"edge.js","versions":[">= unspecified, < 5.3.2"]}],"affected":[{"ecosystem":"npm","package":"edge.js","vulnerableRanges":["<5.3.2"],"patched":["5.3.2"],"from":["GHSA-55r9-7mf8-m382"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the edge.js package (versions before 5.3.2) stems from a type confusion bug that lets array input bypass sanitization during rendering, even when {{ }} template syntax is used. An attacker can exploit this over the network with low complexity and no privileges, but only if a user interacts with the affected content, such as by visiting a crafted page or submitting data that gets rendered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:45Z"},"euvd":{"id":"EUVD-2021-1980","exploited":false,"provenance":"source"}}