{"id":"GHSA-fwv4-6mxc-x5h3","summary":"morgan-json vulnerable to Arbitrary Code Execution","details":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the `Function` constructor.","aliases":["CVE-2022-25921"],"modified":"2023-11-08T04:08:52.196103Z","published":"2022-08-29T20:06:55Z","database_specific":{"nvd_published_at":"2022-08-29T05:15:00Z","cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-09-16T19:37:53Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25921"},{"type":"PACKAGE","url":"https://github.com/indexzero/morgan-json"},{"type":"WEB","url":"https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193"}],"affected":[{"package":{"name":"morgan-json","ecosystem":"npm","purl":"pkg:npm/morgan-json"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-fwv4-6mxc-x5h3/GHSA-fwv4-6mxc-x5h3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}