{"id":"CVE-2022-25921","aliases":["EUVD-2022-6553","GHSA-fwv4-6mxc-x5h3"],"status":"published","title":"Arbitrary Code Execution","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01427,"percentile":0.73162,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-94"],"published":"2022-08-29T05:05:15Z","modified":"2026-06-17T04:34:29Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"morgan-json","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"morgan-json","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}]}],"products":[{"vendor":"morgan-json_project","product":"morgan-json"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25921","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fwv4-6mxc-x5h3"},{"url":"https://github.com/indexzero/morgan-json","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25921","title":"Arbitrary Code Execution","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","status":"published","published":"2022-08-29T05:05:15.275Z","modified":"2024-09-17T01:56:00.229Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-6553","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","status":"published","published":"2022-08-29T05:05:15Z","modified":"2024-09-17T01:56:00Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:28:45.29969Z"}],"ghsa":[{"id":"GHSA-fwv4-6mxc-x5h3","title":"morgan-json vulnerable to Arbitrary Code Execution","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the `Function` constructor.","status":"published","published":"2022-08-29T20:06:55Z","modified":"2023-01-27T05:02:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2022-25921","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","status":"published","published":"2022-08-29T05:15:08.31Z","modified":"2026-06-17T04:34:29.753Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"updated_at":"2026-11-02T14:07:25.883929Z"}],"osv":[{"id":"GHSA-fwv4-6mxc-x5h3","title":"morgan-json vulnerable to Arbitrary Code Execution","description":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the `Function` constructor.","status":"published","published":"2022-08-29T20:06:55Z","modified":"2023-11-08T04:08:52.196103Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:47.119724Z"}]}}
