Vulnerabilities · 2021 · Totaljs
CVE-2021-32831
Totaljs Total.js vulnerability
Total.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework before version 3.4.9, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed in version 3.4.9.
Affected products
Total.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Totaljs Total.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3 · Patch
- securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/ · Exploit
- github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11 · Third Party Advisory
- www.npmjs.com/package/total.js · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-32831
- cve.org/CVERecord?id=CVE-2021-32831
More vulnerabilities in Totaljs products
CVE-2025-11019CVE-2025-10940CVE-2024-48655CVE-2023-30097CVE-2023-30096CVE-2023-30095CVE-2023-30094CVE-2023-27070All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.