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.
Remediation
References
https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21
https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556
Related Vulnerabilities
CVE-2021-21428 Vulnerability in maven package org.openapitools:openapi-generator-online
CVE-2021-26814 Vulnerability in npm package wazuh
CVE-2021-39152 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-21421 Vulnerability in npm package node-etsy-client
CVE-2022-41713 Vulnerability in npm package deep-object-diff