CVE-2021-23443
MEDIUM 6.1CVSS 3.1Cross-site Scripting in edge.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.
- Published
- 21 Sep 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79CWE-843
- Also known as
- GHSA-55r9-7mf8-m382SNYK-JS-EDGEJS-1579556
- Sources
- NVDJSONOSV GHSA-55r9-7mf8-m382JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adonisjs | edgecpe:2.3:a:adonisjs:edge:*:*:*:*:*:node.js:*:* |
< 5.3.2 | 5.3.2 |
| OSV | npm | edge.js | < 5.3.2 | 5.3.2 |
References
- https://github.com/edge-js/edge/commit/fa2c7fde86327aeae232752e89a6e37e2e469e21 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-EDGEJS-1579556 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23443 · ADVISORY
- https://github.com/edge-js/edge · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Sep 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Sep 2021)