What’s Vulnerable › Vulnerabilities
CVE-2022-25921: Arbitrary Code Execution
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-29 · updated 2026-06-17
Description
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
Affected products
- morgan-json: all versions
References
- https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46
- https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193
- https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46
- https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193
Get alerted when CVE-2022-25921 or the next vulnerability affects your stack