Advisory

GHSA-55r9-7mf8-m382

Also known as: CVE-2021-23443, SNYK-JS-EDGEJS-1579556

Summary

Cross-site Scripting in edge.js

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-09-22 20:36 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

edge.js

npm · All systems

Affected

  • introduced 0, fixed 5.3.2 (semver)

Fixed versions

5.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences