{"id":"CVE-2021-23445","aliases":["CVE-2021-23445","GHSA-h73q-5wmj-q8pj"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete datatables.net versiones anteriores a 1.11.3. Si se pasa un array a la función de entidades de escape de HTML no se escapa su contenido","source":"nvd"}],"published":"2021-09-27T16:35:18.234Z","modified":"2026-06-17T03:38:46.547Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P","score":3.1,"rating":"LOW"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.11.3","status":"affected"}],"product":"datatables.net","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.3"}],"ecosystem":"npm","package":"datatables.net","purl":"pkg:npm/datatables.net","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.11.3"}],"vendor":"datatables","product":"datatables.net","cpe":"cpe:2.3:a:datatables:datatables.net:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DATATABLESNET-1540544","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1715371","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1715376","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/DataTables/Dist-DataTables/commit/59a8d3f8a3c1138ab08704e783bc52bfe88d7c9b","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cdn.datatables.net/1.11.3/","tags":["release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00018.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23445","tags":["advisory"],"sources":["ghsa"]},{"url":"https://cdn.datatables.net/1.11.3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/DataTables/Dist-DataTables","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006","tags":["web"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-26T19:14:48.651Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23445","url":"https://www.cve.org/CVERecord?id=CVE-2021-23445","licence":"CVE Terms of Use","modified":"2024-09-16T18:39:20.468Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h73q-5wmj-q8pj","url":"https://github.com/advisories/GHSA-h73q-5wmj-q8pj","licence":"CC-BY-4.0","modified":"2025-01-14T09:12:22.061Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23445","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23445","licence":"Public domain","modified":"2026-06-17T03:38:46.547Z"}],"updatedAt":"2026-11-25T22:58:04.184Z","epss":{"score":0.01975,"percentile":0.81081,"date":"2026-12-01T12:00:22.000Z"}}