CVEfocus › CVE database › CVE-2021-23445

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

CVSS 3.1 LowEPSS 2.0% (higher than 81% of CVEs)Published 2021-09-27Updated 2024-09-16Assigner: snyk

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

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
3Under investigation
4Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10datatables.jsFix pendingUBUNTU-CVE-2021-23445
Ubuntu 26.04datatables.jsUnder investigationUBUNTU-CVE-2021-23445
Ubuntu 25.10datatables.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23445
Ubuntu 24.04datatables.jsUnder investigationUBUNTU-CVE-2021-23445
Ubuntu 22.04datatables.jsUnder investigationUBUNTU-CVE-2021-23445
Ubuntu 20.04datatables.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23445
Ubuntu 18.04datatables.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23445
Ubuntu 16.04datatables.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-23445
Debian 14datatables.jsFixed1.10.21+dfsg-3DEBIAN-CVE-2021-23445
Debian 13datatables.jsFixed1.10.21+dfsg-3DEBIAN-CVE-2021-23445
Debian 12datatables.jsFixed1.10.21+dfsg-3DEBIAN-CVE-2021-23445
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
npm librarydatatables.netFixed1.11.3GHSA-h73q-5wmj-q8pj

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.