Description
All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.
Remediation
References
https://github.com/indexzero/morgan-json/blob/3a76010215a4256d41687d082cd66c4f00ea5717/index.js%23L46
https://security.snyk.io/vuln/SNYK-JS-MORGANJSON-2976193
Related Vulnerabilities
CVE-2018-1000850 Vulnerability in maven package com.squareup.retrofit2:retrofit
CVE-2023-41835 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2020-7645 Vulnerability in npm package chrome-launcher
CVE-2023-48910 Vulnerability in maven package io.github.microcks:microcks
CVE-2021-37695 Vulnerability in maven package org.webjars.bowergithub.ckeditor:ckeditor4