CVE-2021-23344: Remote Code Execution (RCE) in total.js

total.js Updated 02 Oct 2025

Summary

19/03/2021
Yes i
Critical
9.8

CVE-2021-23344: total.js Remote Code Execution Vulnerability. Affects total.js versions < 3.4.8. Fixed in 3.4.8. 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 Penetration testing for web, API and mobile 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 npm package that provides a framework for building web applications. It offers various features and functionalities to simplify the development process. However, versions prior to 3.4.8 are vulnerable to Remote Code Execution (RCE) through the 'set' function.

Vulnerability Detail

The vulnerability allows an attacker to execute arbitrary code remotely. By exploiting the 'set' function, an attacker can inject malicious code into the application, leading to potential unauthorized access, data breaches, or further compromise of the system. This vulnerability has a CVSS score of 9.8, indicating its critical severity.

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.8

This is the first release that contains the fix.

npm install total.js@3.4.8

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 to the fixed version as soon as possible.

Conclusion

The total.js package prior to version 3.4.8 is vulnerable to Remote Code Execution (RCE). It is critical to update to version 3.4.8 or later to mitigate the risk of unauthorized code execution. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for total.js →

Share this vulnerability

FAQ

total.js is an npm package that provides a framework for building web applications. It simplifies the development process and offers various features.

Remote Code Execution (RCE) is a vulnerability that allows an attacker to execute arbitrary code on a remote system.

This vulnerability can lead to unauthorized access, data breaches, and compromise of the affected system.

To fix this vulnerability, update the total.js package to version 3.4.8 or later.

No, there is no known workaround. It is essential to update to the fixed version.

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.8

This is the first release that contains the fix.

npm install total.js@3.4.8

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