{"id":"CVE-2022-25921","aliases":["CVE-2022-25921","GHSA-fwv4-6mxc-x5h3"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution","summary":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.","source":"cvelist"},{"lang":"en","text":"All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the `Function` constructor.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete morgan-json son vulnerables a una Ejecución Arbitraria de Código debido a una falta de saneo de la entrada pasada al constructor de la función","source":"nvd"}],"published":"2022-08-29T05:05:15.275Z","modified":"2026-06-17T04:34:29.753Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"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"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"morgan-json","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.0"}],"ecosystem":"npm","package":"morgan-json","purl":"pkg:npm/morgan-json","source":"ghsa"},{"ranges":[],"vendor":"morgan-json_project","product":"morgan-json","cpe":"cpe:2.3:a:morgan-json_project:morgan-json:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25921","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/indexzero/morgan-json","tags":["package"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25921","url":"https://www.cve.org/CVERecord?id=CVE-2022-25921","licence":"CVE Terms of Use","modified":"2024-09-17T01:56:00.229Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fwv4-6mxc-x5h3","url":"https://github.com/advisories/GHSA-fwv4-6mxc-x5h3","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:52.196Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25921","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25921","licence":"Public domain","modified":"2026-06-17T04:34:29.753Z"}],"updatedAt":"2026-11-25T22:58:14.518Z","epss":{"score":0.01469,"percentile":0.74501,"date":"2026-12-01T12:00:22.000Z"}}