CVE-2020-28495: Prototype pollution in total.js

total.js Updated 02 Oct 2025

Summary

05/02/2021
Yes i
High
7.3

CVE-2020-28495: Prototype pollution in total.js. Affects total.js versions < 3.4.7. Fixed in 3.4.7. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Total.js is an open-source web application framework written in JavaScript. It provides a modular structure for building web applications and APIs. The package total.js is vulnerable to prototype pollution, a type of vulnerability that allows an attacker to modify the prototype of an object and potentially manipulate its behavior. This vulnerability exists in versions prior to 3.4.7 of total.js.

Vulnerability Detail

The vulnerability in total.js arises from the set function, which is used to set a value into an object based on a given path. However, the keys of the path are not properly sanitized, leading to a prototype pollution vulnerability. An attacker can exploit this vulnerability to achieve various malicious outcomes, including Denial of Service (DoS), Remote Code Execution, or Property Injection. The severity of the impact depends on the specific application using total.js.

How To Fix

Latest published version: 3.4.13 as of 23 Oct 2026

npm install total.js@3.4.13

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

If you need the minimum change

3.4.7

This is the first release that contains the fix.

npm install total.js@3.4.7

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 essential to update to the fixed version of total.js to mitigate the risk of exploitation.

Conclusion

The total.js package prior to version 3.4.7 is vulnerable to prototype pollution. This vulnerability can have serious consequences, including DoS, Remote Code Execution, or Property Injection. It is crucial to update to version 3.4.7 or later to mitigate the risk. For further assistance, contact DevNack.com.

See every vulnerability recorded for total.js →

Share this vulnerability

FAQ

Prototype pollution is a vulnerability that allows an attacker to modify the prototype of an object, potentially leading to unexpected behavior or security issues.

The impact of this vulnerability depends on the application using total.js. It can range from Denial of Service (DoS) to Remote Code Execution or Property Injection.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using package-lock.json.

No, there are no known workarounds for this vulnerability. It is crucial to update to the fixed version of total.js.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in addressing this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for total.js.

How To Fix

Latest published version: 3.4.13 as of 23 Oct 2026

npm install total.js@3.4.13

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

If you need the minimum change

3.4.7

This is the first release that contains the fix.

npm install total.js@3.4.7

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