{"answers":{"affected":"2 open source packages ship an affected version, including total4. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-15954 exists.","fix":"No fix has been published for CVE-2019-15954 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-15954 is a critical code injection vulnerability in n/a, published on 5 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-15954 and fix it if it is affected.\n\nWhat it is: CVE-2019-15954 is a critical code injection vulnerability in n/a, published on 5 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-15954 exists.\n\nAffected packages and fixed versions:\n- total4 (npm): affected all versions; no fix listed\n- total4 (npm): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-15954/ (Markdown: https://insights.sbomify.com/CVE-2019-15954/index.md)","id":"CVE-2019-15954","markdown":"https://insights.sbomify.com/CVE-2019-15954/index.md","name":"CVE-2019-15954","record":{"aliases":["GHSA-v287-9w3v-x5c5"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Total.js CMS","requires_auth":"low_privilege","summary":"Authenticated users with widget privileges can execute arbitrary code on the server by injecting JavaScript into widget tags, bypassing sandbox restrictions.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"total.js_cms","vendor":"totaljs"}],"cvss":{"score":9.9,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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: \u003cscript total\u003eglobal.process.mainModule.require(child_process).exec(RCE);\u003c/script\u003e","ecosystems":["npm"],"exploits":{"exploitdb":1,"first_seen":"2019-08-30","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2019-08-30","kind":"metasploit","ref":"exploit/multi/http/totaljs_cms_widget_exec","stars":null,"title":"Total.js CMS 12 Widget JavaScript Code Injection"},{"date":"2019-10-22","kind":"exploitdb","ref":"47531","stars":null,"title":"Total.js CMS 12 - Widget JavaScript Code Injection (Metasploit)"}],"tier":"weaponised"},"has_fix":false,"headline":"Total.js CMS RCE Vulnerability","id":"CVE-2019-15954","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2019"},"n_packages":2,"n_references":3,"next":{"headline":"Weak cryptography in n/a","id":"CVE-2019-15955"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":[],"last_affected":[],"package":"total4","purl":null,"source":"GHSA-v287-9w3v-x5c5"},{"ecosystem":"npm","fixed":[],"introduced":[],"last_affected":[],"package":"total4","purl":"pkg:npm/total4","source":"GHSA-v287-9w3v-x5c5"}],"prev":{"headline":"Total.js CMS Unauthorized Access","id":"CVE-2019-15953"},"products":["n/a"],"published":"2019-09-05","related":[{"cvss_score":8.8,"headline":"Total.js CMS Path Traversal","id":"CVE-2019-15952","kev_date_added":null,"published":"2019-09-05"},{"cvss_score":8.8,"headline":"Total.js CMS Unauthorized Access","id":"CVE-2019-15953","kev_date_added":null,"published":"2019-09-05"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2020-9381","kev_date_added":null,"published":"2020-02-24"},{"cvss_score":6.5,"headline":"Weak cryptography in n/a","id":"CVE-2019-15955","kev_date_added":null,"published":"2019-09-05"},{"cvss_score":6.1,"headline":"Moderate severity vulnerability that affects total.js","id":"CVE-2019-10260","kev_date_added":null,"published":"2019-03-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated users with widget privileges can execute arbitrary code on the server by injecting JavaScript into widget tags, bypassing sandbox restrictions.","url":"https://insights.sbomify.com/CVE-2019-15954/"}