CVE-2021-32831Totaljs Total.js
High 7.2
Follow: this CVE · Totaljs · Totaljs Total.js We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- Yes
- Published
- Aug 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Total.js.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | total.js |
< 3.4.9 |
3.4.9 |
npm install total.js@3.4.9 |
Per OSV / GitHub Advisories (GHSA-vwhc-pww7-72x6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| totaljs | total.js | < 3.4.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- securitylab.github.com Exploit Patch Third Party Advisory
- www.npmjs.com Product Third Party Advisory