CVE-2021-32831
published high CVSS 3.1 · 7.5Code injection in total.js
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| totaljs | — | framework< 3.4.9 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| totaljs | framework | < 3.4.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2GitHub_M · cna
Code injection in total.js
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c3b0681a049b3a384c5d39361c2200c2a2a287698805f3e5b15a2ac4259cd58
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record