CVE-2022-25921
HIGHmorgan-json - Arbitrary Code Execution via Function Constructor Input
Title source: manualDescription
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193
Broken Link x_refsource_misc
https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46
Scores
CVSS v3
8.1
EPSS
0.0094
EPSS Percentile
76.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
Status
published
Products (2)
morgan-json_project/morgan-json
npm/morgan-json
0npm
Published
Aug 29, 2022
Tracked Since
Feb 18, 2026