CVE-2021-23445
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-23445 affects the package datatables.net versions before 1.11.3. The vulnerability was discovered and disclosed on September 27, 2021, by Alessio Della Libera of the Snyk Research Team. The issue occurs when an array is passed to the HTML escape entities function, where the contents would not be properly escaped (NVD, Snyk).

Technical details

The vulnerability is classified as a Cross-site Scripting (XSS) issue with a CVSS v3.1 base score of 6.1 MEDIUM (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The vulnerability exists in the HTML escape entities function of datatables.net, where passing an array as input would result in the contents not being properly escaped, potentially leading to XSS attacks (NVD).

Impact

When successfully exploited, this vulnerability could allow attackers to execute malicious scripts in the context of the user's browser, potentially leading to the theft of session cookies, exposure of sensitive information, and access to privileged services and functionality (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade datatables.net to version 1.11.3 or higher, which contains the fix for this vulnerability. The fix was implemented in the release of September 24, 2021 (DataTables, GitHub Commit).

Community reactions

Multiple organizations have acknowledged and responded to this vulnerability. Debian issued a security update (DLA-3529-1) to address the vulnerability in their packages (Debian). NetApp has also included this vulnerability in their security advisory for affected products (NetApp).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management