Vulnerability · Published Sep 21, 2021 · Assigned by snyk

CVE-2021-23443Cross-site Scripting (XSS)

Medium 5.4

In plain English

A medium-severity security flaw in edge.js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.9%top 40.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmedge.js5.3.2GHSA-55r9-7mf8-m382

Affected products (as reported)

VendorProductVersions
n/a edge.js unspecified – before 5.3.2

References