CVE-2020-7697
CRITICALmock2easy - OS Command Injection via _data Variable
Title source: llmDescription
This affects all versions of package mock2easy. a malicious user could inject commands through the _data variable: Affected Area require('../server/getJsonByCurl')(mock2easy, function (error, stdout) { if (error) { return res.json(500, error); } res.json(JSON.parse(stdout)); }, '', _data.interfaceUrl, query, _data.cookie,_data.interfaceType);
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-MOCK2EASY-572312
Third Party Advisory x_refsource_misc
https://www.npmjs.com/package/mock2easy
Scores
CVSS v3
9.8
EPSS
0.0204
EPSS Percentile
78.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-77
Status
published
Products (2)
mock2easy_project/mock2easy
npm/mock2easy
0npm
Published
Jul 29, 2020
Tracked Since
Feb 18, 2026