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

- Severity: Low 3.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P`
- 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): 1.98%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-09-27T16:35:18.234Z
- Modified: 2026-06-17T03:38:46.547Z
- Also known as: GHSA-h73q-5wmj-q8pj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## Description

This affects the package datatables.net before 1.11.3. If an array is passed to the HTML escape entities function it would not have its contents escaped.

(As written by CVE List.)

## Affected

- datatables.net: from unspecified before 1.11.3
- datatables.net (npm): before 1.11.3
- datatables datatables.net: before 1.11.3

## Every score

- snyk: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P`
- GitHub: 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: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 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376> (exploit, third-party-advisory, web)
- <https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b> (patch, third-party-advisory, web)
- <https://cdn.datatables.net/1.11.3/> (release-notes, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00018.html> (mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23445> (advisory)
- <https://cdn.datatables.net/1.11.3> (web)
- <https://github.com/DataTables/Dist-DataTables> (package)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2021-23445](https://www.cve.org/CVERecord?id=CVE-2021-23445), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-h73q-5wmj-q8pj](https://github.com/advisories/GHSA-h73q-5wmj-q8pj), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23445](https://nvd.nist.gov/vuln/detail/CVE-2021-23445), Public domain, modified 2026-06-17

---

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