GitHub Advisoryadvisory · npm

GHSA-j665-rvj7-2jv9 Code Injection in mosc

HIGH Published 2021-05-17 Modified 2021-07-29 Official page ↗
Aliases
CVE-2020-7672
Ecosystem
npm
Packages
mosc
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-94
Reviewed
2021-05-13

Affected packages

• npm mosc: <= 1.0.0 (no fix yet)

Description

mosc through 1.0.0 is vulnerable to Arbitrary Code Execution. User input provided to `properties` argument is executed by the `eval` function, resulting in code execution.

Related

Alias · CVE (1)

  • CVE-2020-7672 mosc through 1.0.0 is vulnerable to Arbitrary Code Execution. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References