# CVE-2019-15954: Total.js CMS RCE Vulnerability

- Severity: Critical 9.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 78.7%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2019-09-05T18:31:43.000Z
- Modified: 2026-06-17T02:21:24.720Z
- Also known as: GHSA-v287-9w3v-x5c5
- Weaknesses: CWE-77, CWE-862
- Assigned by: mitre

## 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>

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- total4 (npm): 12.0.0
- totaljs total.js_cms: 12.0.0

## Every score

- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf> (exploit, third-party-advisory, web)
- <https://seclists.org/fulldisclosure/2019/Sep/5> (exploit, mailing-list, third-party-advisory, web)
- <http://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-15954> (advisory)
- <https://github.com/totaljs/cms> (package)

## Sources

- CVE List: [CVE-2019-15954](https://www.cve.org/CVERecord?id=CVE-2019-15954), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-v287-9w3v-x5c5](https://github.com/advisories/GHSA-v287-9w3v-x5c5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-15954](https://nvd.nist.gov/vuln/detail/CVE-2019-15954), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-15954 · Whole record: https://cve.day/CVE-2019-15954.json · Rebuilt by cve.day 2026-11-25T22:57:46.830Z
