Read the docs
TI-2021-12496 Aliases CVE-2021-32831GHSA-vwhc-pww7-72x6

Code injection in total.js

Priority LOW 36CWE-94Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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.

Why it matters now

EPSS 0.01466 73rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed framework (totaljs): 3.4.9total.js (npm): 3.4.9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Total.jsframeworkbefore 3.4.93.4.9Patch availableCNA
—total.js (npm)before 3.4.93.4.9Patch availableGHSA-vwhc-pww7-72x6
  • framework VendorTotal.js Affected before 3.4.9 Fixed in 3.4.9 Patch available CNA
  • total.js (npm) Vendor— Affected before 3.4.9 Fixed in 3.4.9 Patch available GHSA-vwhc-pww7-72x6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*before 3.4.9VulnerableTotal.js
  • cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:* Versions before 3.4.9 Vulnerable ·Total.js

Remediation

  • Fix · CNA framework (totaljs) Fixed in 3.4.9
  • Fix · GHSA-vwhc-pww7-72x6 total.js (npm) Fixed in 3.4.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32831
  2. 2026-10-03 Alias added: GHSA-vwhc-pww7-72x6

References

  • TI-2024-32459 An issue in Total.js CMS v.1.0 allows a remote attacker to execute arbitrary code via the func.js file. CVSS 3.1HIGH 8.8
  • TI-2022-21645 In Total.js 4 before 0e5ace7, /api/common/ping can achieve remote command execution via… CVSS 3.1HIGH 8.8
  • TI-2019-06421 index.js in Total.js Platform before 3.2.3 allows path traversal. CVSS 3.0HIGH 7.5
  • TI-2025-10089 Total.js CMS Files Menu cross site scripting CVSS 4.0MEDIUM 4.8
  • TI-2025-10016 Total.js CMS Layout admin layouts_save cross site scripting CVSS 4.0MEDIUM 4.8
  • TI-2021-06042 Remote code execution (RCE) in total.js CVSS 3.1CRITICAL 9.8
See all 11 →

Sources