# CVE-2021-23443: Cross-site Scripting (XSS)

- Severity: Medium 5.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-21T16:50:10.641Z
- Modified: 2026-07-08T06:49:47.641Z
- Also known as: GHSA-55r9-7mf8-m382, SNYK-JS-EDGEJS-1579556
- Weaknesses: CWE-79, CWE-843
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- edge.js: from unspecified before 5.3.2
- edge.js (npm): before 5.3.2
- adonisjs edge: before 5.3.2

## Every score

- snyk: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## 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

- CVE List: [CVE-2021-23443](https://www.cve.org/CVERecord?id=CVE-2021-23443), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-55r9-7mf8-m382](https://github.com/advisories/GHSA-55r9-7mf8-m382), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23443](https://nvd.nist.gov/vuln/detail/CVE-2021-23443), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23443 · Whole record: https://cve.day/CVE-2021-23443.json · Rebuilt by cve.day 2026-11-25T22:58:04.089Z
