Vulnerability · Published Sep 27, 2021 · Assigned by snyk
CVE-2021-23445Cross-site Scripting (XSS)
Low 3.1
In plain English
A low-severity security flaw in datatables.net. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)2.0%top 19.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | datatables.js | 1.10.21+dfsg-3 | DEBIAN-CVE-2021-23445 |
| Debian:13 | datatables.js | 1.10.21+dfsg-3 | DEBIAN-CVE-2021-23445 |
| Debian:14 | datatables.js | 1.10.21+dfsg-3 | DEBIAN-CVE-2021-23445 |
| Ubuntu:22.04:LTS | datatables.js | no fix listed | UBUNTU-CVE-2021-23445 |
| Ubuntu:24.04:LTS | datatables.js | no fix listed | UBUNTU-CVE-2021-23445 |
| Ubuntu:25.10 | datatables.js | no fix listed | UBUNTU-CVE-2021-23445 |
| Ubuntu:26.04:LTS | datatables.js | no fix listed | UBUNTU-CVE-2021-23445 |
| Ubuntu:26.10 | datatables.js | no fix listed | UBUNTU-CVE-2021-23445 |
| npm | datatables.net | 1.11.3 | GHSA-h73q-5wmj-q8pj |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | datatables.net | unspecified – before 1.11.3 |
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/
- [debian-lts-announce] 20230815 [SECURITY] [DLA 3529-1] datatables.js security update mailing-list
- https://security.netapp.com/advisory/ntap-20240621-0006/