CVE-2020-28458: Prototype Pollution in datatables.net

datatables.net Updated 02 Oct 2025

Summary

17/12/2020
Yes i
High
7.3

CVE-2020-28458: datatables.net vulnerable to Prototype Pollution due to incomplete fix. Affects datatables.net versions < 1.10.22. Fixed in 1.10.22. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

datatables.net is an npm package that provides advanced interaction controls for HTML tables. It allows developers to enhance the functionality and user experience of tables on web pages. However, all versions of datatables.net are vulnerable to Prototype Pollution due to an incomplete fix for a previously reported vulnerability. Prototype Pollution is a vulnerability that allows an attacker to modify the prototype of an object, leading to unexpected behavior and potential security issues.

Vulnerability Detail

The vulnerability in datatables.net arises from a failure to fully address the issue of Prototype Pollution. This vulnerability can be exploited by an attacker to modify the behavior of the affected application by injecting malicious properties into the prototype of objects. This can lead to various security risks, such as remote code execution, information disclosure, or denial of service attacks. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.3.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install datatables.net@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.10.22

This is the first release that contains the fix.

npm install datatables.net@1.10.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update the package to the latest version to ensure the security of the application.

Conclusion

datatables.net is vulnerable to Prototype Pollution due to an incomplete fix. This vulnerability can be mitigated by updating the package to version 1.10.22 or later. It is crucial to stay updated with the latest security patches and follow best practices to ensure the security of your application. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for datatables.net →

Share this vulnerability

FAQ

Prototype Pollution is a vulnerability that allows an attacker to modify the prototype of an object, leading to unexpected behavior and potential security issues. It can be exploited to inject malicious properties into the prototype, which can result in various attacks.

The potential risks of this vulnerability include remote code execution, information disclosure, or denial of service attacks. An attacker can modify the behavior of the affected application by injecting malicious properties into the prototype of objects.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file.

Yes, a fix is available for this vulnerability. It is recommended to update the datatables.net package to version 1.10.22 or later to mitigate the vulnerability.

There are no known workarounds for this vulnerability. It is essential to update the package to the latest version to ensure the security of the application.

Related vulnerabilities

Recent vulnerabilities recorded for datatables.net.

How To Fix

Latest published version: 3.1.4 as of 22 Oct 2026

npm install datatables.net@3.1.4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.10.22

This is the first release that contains the fix.

npm install datatables.net@1.10.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback