Critical

Total.js CMS RCE Vulnerability

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 10:22

An issue was discovered in Total.js CMS 12.0.0. An authenticated user with the widgets privilege can gain achieve Remote Command Execution (RCE) on the remote server by creating a malicious widget with a special tag containing JavaScript code that will be evaluated server side. In the process of evaluating the tag by the back-end, it is possible to escape the sandbox object by using the following payload: <script total>global.process.mainModule.require(child_process).exec(RCE);</script>

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package total4 = 12.0.0 no fix

References

CVSS score 9.9/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-77, CWE-862
Platform
npm
Package
total4
Disclosed
24.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v287-9w3v-x5c5 - CC BY 4.0

Vulnerability history: total4

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
12.2021 05.2023
Without a fix
3
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2
  • Medium 1

Disclosures per year

  1. 2021: 1
  2. 2022: 3
  3. 2023: 1
  4. 2024: 0
  5. 2025: 0
  6. 2026: 0
  1. Medium · 5.4 CVE-2023-30094 < 0.0.81 0.0.81
  2. Total.js CMS RCE Vulnerability this entry
    Critical · 9.9 CVE-2019-15954 = 12.0.0 no fix
  3. High · 8.8 CVE-2019-15953 = 12.0 no fix
  4. High · 8.8 CVE-2019-15952 = 12.0 no fix
  5. Critical · 9.8 CVE-2021-23390 < 0.0.43 0.0.43

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.