All reports
Critical

Code injection in mock2easy

Affected versions

Affected versions
<= 0.0.24
Fixed version
Not reported

Exploitation

CVE-2020-7697

Probability of exploitation in the next 30 days: 2.04%

FIRST EPSS · 2026-11-19

Description

This affects all versions up to and including version 0.0.24 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);```

Links