Skip to content
Heist/ feed
Back to feed
Medium

datatables.js — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-23445

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.

Products
datatables.js
Affected versions
1.10.10+dfsg-1, 1.10.10+dfsg-2, 1.10.11+dfsg-1, 1.10.11+dfsg-1ubuntu1, 1.10.11+dfsg-2, 1.10.15+dfsg-2, 1.10.16+dfsg-1, 1.10.19+dfsg-1, 1.10.20+dfsg-1, 1.10.21+dfsg-2, 1.10.21+dfsg-3, 1.10.9+dfsg-1, 1.11.4+dfsg-1, 1.11.5+dfsg-2, 1.11.5+dfsg-2build1
Fixed versions
Not specified
CVEs
CVE-2021-23445
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:38 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-23445

core-osv · Original source

Published 27 Sept 2021, 17:15 UTC

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.

osv:UBUNTU-CVE-2021-23445

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

datatables.js

Fixed versions: Not specified

Complete source record
{
  "id": "cdbcf98abeb00311a556bd5f118f3cce8f5c1eb094d26648ea9930bd4a7cb169",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-23445",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-23445",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2021-23445",
    "products": [
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.9+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.10+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.10+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.11+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.11+dfsg-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.11+dfsg-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.15+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.10.16+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.19+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.10.20+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.21+dfsg-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.10.21+dfsg-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.11.4+dfsg-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.5+dfsg-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.5+dfsg-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.5+dfsg-2build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "datatables.js",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.11.5+dfsg-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.11.5+dfsg-2build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2021-23445",
      "aliases": [
        "UBUNTU-CVE-2021-23445"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.10.9+dfsg-1",
            "1.10.10+dfsg-1",
            "1.10.10+dfsg-2",
            "1.10.11+dfsg-1",
            "1.10.11+dfsg-1ubuntu1",
            "1.10.11+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.10.11+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.10.15+dfsg-2",
            "1.10.16+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.10.16+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.10.19+dfsg-1",
            "1.10.20+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.10.20+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.10.21+dfsg-2",
            "1.10.21+dfsg-3",
            "1.11.4+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.11.4+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.11.5+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.11.5+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.11.5+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.11.5+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.11.5+dfsg-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.11.5+dfsg-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "datatables.js",
            "purl": "pkg:deb/ubuntu/datatables.js?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.11.5+dfsg-2",
            "1.11.5+dfsg-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23445.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjs-jquery-datatables",
                "binary_version": "1.11.5+dfsg-2build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:53.728027794Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-23445"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-23445",
        "https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b",
        "https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376",
        "https://cdn.datatables.net/1.11.3/",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371",
        "https://www.cve.org/CVERecord?id=CVE-2021-23445"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-23445",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 354248,
  "published_at": "2021-09-27T17:15:00+00:00"
}