Security mailing lists by PureSourceCode

CVE-2022-25921

CRITICAL 9.8CVSS 3.1

morgan-json vulnerable to Arbitrary Code Execution

All versions of package morgan-json are vulnerable to Arbitrary Code Execution due to missing sanitization of input passed to the Function constructor.

Published
29 Aug 2022
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-fwv4-6mxc-x5h3
Sources
NVDJSONOSV GHSA-fwv4-6mxc-x5h3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD morgan-json_project morgan-json
cpe:2.3:a:morgan-json_project:morgan-json:*:*:*:*:*:node.js:*:*
all versions
OSV npm morgan-json <= 1.1.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Aug 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.