CVE-2021-32831
CVE-2021-32831 is a high-severity vulnerability in Totaljs Total.js with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 6.5
- EPSS exploit prediction: 1% (71st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Totaljs Total.js
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-32831?
- 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.
- How severe is CVE-2021-32831?
- CVE-2021-32831 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over local access with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-32831 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (71st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-32831?
- CVE-2021-32831 affects Totaljs Total.js. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-32831?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-32831 published?
- CVE-2021-32831 was published on 2021-08-30 and last updated on 2026-06-17.
References
- https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11
- https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3
- https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/
- https://www.npmjs.com/package/total.js
Affected products (1)
- cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*
More vulnerabilities in Totaljs Total.js
- CVE-2021-23389 — Critical (CVSS 9.8): The package total.js before 3.4.9 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.
- CVE-2021-23344 — Critical (CVSS 9.8): The package total.js before 3.4.8 are vulnerable to Remote Code Execution (RCE) via set.
- CVE-2024-48655 — High (CVSS 8.8): An issue in Total.js CMS v.1.0 allows a remote attacker to execute arbitrary code via the func.js file.
- CVE-2022-44019 — High (CVSS 8.8): In Total.js 4 before 0e5ace7, /api/common/ping can achieve remote command execution via shell metacharacters in the…
- CVE-2020-28494 — High (CVSS 8.6): This affects the package total.js before 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type…
- CVE-2019-8903 — High (CVSS 7.5): index.js in Total.js Platform before 3.2.3 allows path traversal.
All CVEs affecting Totaljs Total.js →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.