GitHub Advisoryadvisory · npm

GHSA-55r9-7mf8-m382 Cross-site Scripting in edge.js

MEDIUM Published 2021-09-22 Modified 2023-09-11 Official page ↗
Aliases
CVE-2021-23443
Ecosystem
npm
Packages
edge.js
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79, CWE-843
Reviewed
2021-09-22

Affected packages

• npm edge.js: < 5.3.2 → fixed in 5.3.2

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.

Related

Alias · CVE (1)

  • CVE-2021-23443 This affects the package edge.js before 5.3.2. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References