{"schema_version":"1.9.0","id":"GHSA-v287-9w3v-x5c5","published":"2022-05-24T16:55:31Z","modified":"2023-11-08T04:01:15.614045Z","aliases":["CVE-2019-15954"],"summary":"Total.js CMS RCE Vulnerability","details":"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":[{"package":{"name":"total4","ecosystem":"npm","purl":"pkg:npm/total4"},"versions":["12.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-v287-9w3v-x5c5/GHSA-v287-9w3v-x5c5.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15954"},{"type":"WEB","url":"https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf"},{"type":"PACKAGE","url":"https://github.com/totaljs/cms"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2019/Sep/5"},{"type":"WEB","url":"http://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html"}],"database_specific":{"cwe_ids":["CWE-77","CWE-862"],"github_reviewed":true,"github_reviewed_at":"2023-07-17T23:14:57Z","nvd_published_at":"2019-09-05T19:16:00Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}