5.4medium
Cross-site Scripting (XSS)
- Severity
- 5.4medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.91% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-55r9-7mf8-m382SNYK-JS-EDGEJS-1579556
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
| Product or package | Versions | Reported by |
|---|---|---|
| edge.js | from unspecified before 5.3.2 | CVE List |
| edge.js (npm) | before 5.3.2 | GitHub Advisory Database |
| adonisjs edge | before 5.3.2 | NVD |
All scores
| snyk | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Esto afecta al paquete edge.js versiones anteriores a 5.3.2. Puede ser usada una vulnerabilidad de confusión de tipo para omitir el saneamiento de entradas cuando la entrada que se va a representar es una matriz (en lugar de una cadena o un SafeValue), incluso si se usan {{ }}
References
| https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556 | exploit, patch, third-party-advisory, web | |
| https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23443 | advisory | |
| https://github.com/edge-js/edge | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23443 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-55r9-7mf8-m382 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-23443 changed 2026-06-17 | Public domain |