{"id":"CVE-2020-7660","published":"2020-06-01T14:50:55Z","modified":"2024-08-04T09:33:20Z","title":"serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function…","vendor":null,"product":null,"tier":"tail","description":{"text":"serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function \"deleteFunctions\" within \"index.js\".","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03009,"percentile":0.87724,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":17.54}]},"affectedVersions":[{"vendor":"n/a","product":"serialize-javascript","versions":["All versions prior to version 3.1.0"]}],"affected":[{"ecosystem":"npm","package":"serialize-javascript","vulnerableRanges":["<3.1.0"],"patched":["3.1.0"],"from":["GHSA-hxcc-f52p-wc94"],"provenance":"source"}],"summary":{"text":"The serialize-javascript package, in versions prior to 3.1.0, contains a flaw in the \"deleteFunctions\" function within its index.js file. An attacker who can get serialized input processed by the affected function can inject arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:29Z"},"euvd":{"id":"EUVD-2020-0628","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-advanced-cluster-security-4-4-cve-2020-7660","children":[{"from":"CVE-2020-7660","to":"CVE-2024-11831","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd","https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e","https://github.com/yahoo/serialize-javascript/commit/7f3ac252d86b802454cb43782820aea2e0f6dc25"],"basis":"shared function","functions":["serialize"]}]},{"from":"CVE-2020-7660","to":"CVE-2026-97711","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/yahoo/serialize-javascript/commit/f21a6fb3ace2353413761e79717b2d210ba6ccbd","https://github.com/yahoo/serialize-javascript/commit/2bdbaaff9cb8a4639135eb24cfcd383d3fefb534"],"basis":"shared function","functions":["serialize"]}]}]}}