Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23445
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:57 UTC · Revision 1

Source evidence

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:CVE-2021-23445
Complete source record
{
  "id": "8e59a3a3ac537e51b6ddcac6176119907213f286c4e0dca6a160a42a85eb11df",
  "url": "https://osv.dev/vulnerability/CVE-2021-23445",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2021-23445",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-23445",
      "aliases": [
        "CVE-2021-23445",
        "GHSA-h73q-5wmj-q8pj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/datatables/datatablessrc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "79772b97fe6d45af67057cc13fa6af3f00c873ea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:datatables:datatables.net:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.11.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.25",
            "1.7.0",
            "1.0.1",
            "1.10.23",
            "1.10.22",
            "1.10.21",
            "1.10.20",
            "1.10.16",
            "1.10.15",
            "1.10.14",
            "1.10.13",
            "1.10.12",
            "1.10.11",
            "1.10.10",
            "1.10.9",
            "1.10.8",
            "1.10.7",
            "1.10.6",
            "1.10.5",
            "1.10.4",
            "1.10.3",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.10.0-rc.1",
            "1.10.0-beta.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23445.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/datatables/dist-datatables",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.24",
            "1.10.23",
            "1.10.22",
            "1.10.21",
            "1.10.20",
            "1.10.19",
            "1.10.18",
            "1.10.17",
            "1.10.16",
            "1.10.15",
            "1.10.14",
            "1.10.13",
            "1.10.12",
            "1.10.11",
            "1.10.10",
            "1.10.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23445.json"
          }
        }
      ],
      "modified": "2026-10-24T10:51:24.523571112Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/08/msg00018.html",
        "https://cdn.datatables.net/1.11.3/",
        "https://security.netapp.com/advisory/ntap-20240621-0006/",
        "https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376",
        "https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-23445",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442594,
  "published_at": "2021-09-27T17:15:08.137+00:00"
}