{"id":"CVE-2020-7609","aliases":["CVE-2020-7609","GHSA-f78f-353m-cf4j","SNYK-JS-NODERULES-560426"],"related":[],"kind":"vulnerability","state":"published","title":"Code Injection in node-rules","summary":"node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. The argument rules of function \"fromJSON()\" can be controlled by users without any sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. The argument rules of function \"fromJSON()\" can be controlled by users without any sanitization.","source":"cvelist"},{"lang":"es","text":"node-rules incluyendo versiones 3.0.0 y anteriores a 5.0.0, permite una inyección de comandos arbitrarios. Las reglas de argumento de la función \"fromJSON()\" pueden ser controladas por usuarios sin ningún saneamiento.","source":"nvd"}],"published":"2020-04-27T21:06:35.000Z","modified":"2026-07-08T06:49:29.887Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"All versions including 3.0.0 and prior to 5.0.0","status":"affected"}],"product":"node-rules","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"5.0.0"}],"ecosystem":"npm","package":"node-rules","purl":"pkg:npm/node-rules","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"5.0.0"}],"vendor":"node-rules_project","product":"node-rules","cpe":"cpe:2.3:a:node-rules_project:node-rules:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832%2C","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-NODERULES-560426","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7609","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mithunsatheesh/node-rules/issues/84","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832","tags":["patch","third-party-advisory","web"],"sources":["ghsa","nvd"]}],"credits":[],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7609","url":"https://www.cve.org/CVERecord?id=CVE-2020-7609","licence":"CVE Terms of Use","modified":"2024-08-04T09:33:19.997Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f78f-353m-cf4j","url":"https://github.com/advisories/GHSA-f78f-353m-cf4j","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:29.887Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7609","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7609","licence":"Public domain","modified":"2026-06-17T03:25:06.913Z"}],"updatedAt":"2026-11-25T22:57:52.198Z","epss":{"score":0.01596,"percentile":0.76458,"date":"2026-12-01T12:00:22.000Z"}}