CVE-2021-23344: Remote Code Execution (RCE) in total.js
Summary
CVE-2021-23344: total.js Remote Code Execution Vulnerability. Affects total.js versions < 3.4.8. Fixed in 3.4.8. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for total.js.