GHSA-55r9-7mf8-m382

Suggest an improvement
Source
https://github.com/advisories/GHSA-55r9-7mf8-m382
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-55r9-7mf8-m382/GHSA-55r9-7mf8-m382.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-55r9-7mf8-m382
Aliases
Published
2021-09-22T20:36:46Z
Modified
2025-01-08T10:41:56.719336Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2021-09-22T14:25:18Z",
    "nvd_published_at": "2021-09-21T17:15:00Z",
    "cwe_ids": [
        "CWE-79",
        "CWE-843"
    ],
    "severity": "MODERATE"
}
References

Affected packages

npm / edge.js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.3.2