CVE-2021-23445Datatables.net
Medium 6.1 No auth needed
Follow: this CVE · Datatables · Datatables.net We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Sep 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for Datatables.net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | datatables.net |
< 1.11.3 |
1.11.3 |
npm install datatables.net@1.11.3 |
Per OSV / GitHub Advisories (GHSA-h73q-5wmj-q8pj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| datatables | datatables.net | < 1.11.3 |
Official sources
References
Links published by the sources. Open them with care.
- cdn.datatables.net Release Notes Vendor Advisory
- github.com Patch Third Party Advisory
- lists.debian.org
- security.netapp.com
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory