CVE-2021-23445
MEDIUM 6.1CVSS 3.1Cross site scripting in datatables.net
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.
- Published
- 27 Sep 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-h73q-5wmj-q8pj
- Sources
- NVDJSONOSV GHSA-h73q-5wmj-q8pjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | datatables | datatables.netcpe:2.3:a:datatables:datatables.net:*:*:*:*:*:node.js:*:* |
< 1.11.3 | 1.11.3 |
| OSV | npm | datatables.net | < 1.11.3 | 1.11.3 |
References
- https://cdn.datatables.net/1.11.3/ · Release Notes, Vendor Advisory, WEB
- https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/08/msg00018.html · WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · 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://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23445 · ADVISORY
- https://github.com/DataTables/Dist-DataTables · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Sep 2021)